]> granicus.if.org Git - python/commit
Make PyPIRCCommandTestCase derive from a base class
authorBerker Peksag <berker.peksag@gmail.com>
Fri, 24 Jun 2016 05:48:27 +0000 (08:48 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Fri, 24 Jun 2016 05:48:27 +0000 (08:48 +0300)
commit91d53e7b20baf5b9b58cb9737b8871793c23fd7b
treebe7552d0b7933ccb2ba774a3397c816c4baf0b00
parent9e941d6373ea5e233a26e5fb0af6731d88f14049
Make PyPIRCCommandTestCase derive from a base class

Several test cases in distutils use PyPIRCCommandTestCase as
their base class and as a result of that the following tests
were ran more than once:

* test_server_registration
* test_server_empty_registration
* test_config_interpolation

This commit moves the infrastructure used by other tests
into a new BasePyPIRCCommandTestCase class.
Lib/distutils/tests/test_config.py
Lib/distutils/tests/test_register.py
Lib/distutils/tests/test_sdist.py
Lib/distutils/tests/test_upload.py