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.
1 parent 964561b commit b870aa1Copy full SHA for b870aa1
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
@@ -859,7 +855,6 @@ def raise_it():
859
855
self.fail("Exception raised by preexec_fn did not make it "
860
856
"to the parent process.")
861
857
862
- @unittest.skipUnless(gc, "Requires a gc module.")
863
858
def test_preexec_gc_module_failure(self):
864
# This tests the code that disables garbage collection if the child
865
# process will execute any Python.
0 commit comments