[Python-Dev] Tweaking the stdlib test infrastructure (original) (raw)

Barry Warsaw barry at python.org
Tue Apr 24 05:34:17 CEST 2007


-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On Apr 23, 2007, at 8:39 PM, Collin Winter wrote:

Fast and simple: I want all stdlib test cases to stop subclassing unittest.TestCase and start subclassing testsupport.TestCase.

So: any objections to making this change?

Please use the absolute package name test.test_support.TestCase.
Remember that some of the code in the stdlib is released externally
to Python (e.g. the email package), so their test suites have to be
runnable in that deployment mode.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRi16v3EjvBPtnXfVAQKS4wQAiAaoIrhLhnnKxsrJL8RHZzPB9J3u98LJ EWZD7h9z0rXBEElOSDCQqZ3zlSVJNO5PGcogXPivrKE3Hg5t/pK88FCAMFNjv8iY sLK2fwpMlsGLLnIfGRbSOTxVvyEmuUEPQ5CuLUniPEMocE42bUi+7hpp5pLc2PDA U7dzYzGwBxA= =g+lH -----END PGP SIGNATURE-----



More information about the Python-Dev mailing list