diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-12-10 17:44:25 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-12-10 17:44:25 (GMT) |
commit | b870aa1255bd24292d5110da5f7bedcefebdaa92 (patch) | |
tree | 760c2660871554793a9bc9c7abeaf1f1d4133068 | |
parent | 964561bb7cbfd7ef48b8874b32e26ece9a68f6cd (diff) | |
download | cpython-b870aa1255bd24292d5110da5f7bedcefebdaa92.zip cpython-b870aa1255bd24292d5110da5f7bedcefebdaa92.tar.gz cpython-b870aa1255bd24292d5110da5f7bedcefebdaa92.tar.bz2 |
we're always going to have gc
-rw-r--r-- | Lib/test/test_subprocess.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index c3eae9a..3e17a29 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -13,11 +13,7 @@ import sysconfig import warnings import select import shutil -try: - import gc -except ImportError: - gc = None - +import gc try: import resource @@ -859,7 +855,6 @@ class POSIXProcessTestCase(BaseTestCase): self.fail("Exception raised by preexec_fn did not make it " "to the parent process.") - @unittest.skipUnless(gc, "Requires a gc module.") def test_preexec_gc_module_failure(self): # This tests the code that disables garbage collection if the child # process will execute any Python. |