Change test_support to support. Fixes a failing test on Windows.
This commit is contained in:
parent
71fb7ca282
commit
48953cd335
|
@ -52,7 +52,7 @@ class BuildExtTestCase(TempdirManager, LoggingSilencer, unittest.TestCase):
|
|||
def tearDown(self):
|
||||
# Get everything back to normal
|
||||
if os.path.exists(_XX_MODULE_PATH):
|
||||
test_support.unload('xx')
|
||||
support.unload('xx')
|
||||
sys.path[:] = self.sys_path
|
||||
# XXX on Windows the test leaves a directory
|
||||
# with xx module in TEMP
|
||||
|
|
Loading…
Reference in New Issue