%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/distutils/tests/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/distutils/tests/test_msvc9compiler.pyc


Pac@sdZddlZddlZddlZddlmZddlmZddlm	Z	dZ
dZdZej
d	krdd
lmZedkrdZqdZnd
ZejedkedejejfdYZdZedkre	endS(s"Tests for distutils.msvc9compiler.iN(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,eZdZdZdZdZRS(cCscddlm}d}ddlm}|j}||_z|jt|dWd||_XdS(Ni(tquery_vcvarsallcSsdS(N(tNone(tversion((s>/usr/local/lib/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((s>/usr/local/lib/python2.7/distutils/tests/test_msvc9compiler.pyttest_no_compilerjs			cCsddlm}|jt|jddd}|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((s>/usr/local/lib/python2.7/distutils/tests/test_msvc9compiler.pyttest_reg_class{s	cCsddlm}|j}tjj|d}t|d}z|jtWd|j	X|}|j
|t|}z2djg|jD]}|j^q}Wd|j	X|j
|tdS(Ni(tMSVCCompilertmanifesttws
(RR"tmkdtemptosRtjointopentwritet"_MANIFEST_WITH_MULTIPLE_REFERENCEStcloset_remove_visual_c_reft	readlinestrstripRt_CLEANED_MANIFEST(RR"ttempdirR#tftcompilertlinetcontent((s>/usr/local/lib/python2.7/distutils/tests/test_msvc9compiler.pyttest_remove_visual_c_refs	
2cCsddlm}|j}tjj|d}t|d}z|jtWd|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((s>/usr/local/lib/python2.7/distutils/tests/test_msvc9compiler.pyttest_remove_entire_manifests	(t__name__t
__module__RR!R5R9(((s>/usr/local/lib/python2.7/distutils/tests/test_msvc9compiler.pyRfs			cCs
tjtS(N(tunittestt	makeSuiteR(((s>/usr/local/lib/python2.7/distutils/tests/test_msvc9compiler.pyt
test_suitest__main__(t__doc__tsysR<R&tdistutils.errorsRtdistutils.testsRttest.test_supportRR6R*R/tplatformtdistutils.msvccompilerRRtSKIP_MESSAGEt
skipUnlesstTempdirManagertTestCaseRR>R:(((s>/usr/local/lib/python2.7/distutils/tests/test_msvc9compiler.pyt<module>s* 		L	

Zerion Mini Shell 1.0