Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d3a345a + b870aa1 commit ce2af33Copy full SHA for ce2af33
1 file changed
Lib/test/test_subprocess.py
@@ -13,11 +13,7 @@
13
import warnings
14
import select
15
import shutil
16
-try:
17
- import gc
18
-except ImportError:
19
- gc = None
20
-
+import gc
21
22
try:
23
import resource
@@ -951,7 +947,6 @@ def raise_it():
951
947
self.fail("Exception raised by preexec_fn did not make it "
952
948
"to the parent process.")
953
949
954
- @unittest.skipUnless(gc, "Requires a gc module.")
955
950
def test_preexec_gc_module_failure(self):
956
# This tests the code that disables garbage collection if the child
957
# process will execute any Python.
0 commit comments