Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce2af33

Browse files
committed
merge 3.2
2 parents d3a345a + b870aa1 commit ce2af33

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

Lib/test/test_subprocess.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@
1313
import warnings
1414
import select
1515
import shutil
16-
try:
17-
import gc
18-
except ImportError:
19-
gc = None
20-
16+
import gc
2117

2218
try:
2319
import resource
@@ -951,7 +947,6 @@ def raise_it():
951947
self.fail("Exception raised by preexec_fn did not make it "
952948
"to the parent process.")
953949

954-
@unittest.skipUnless(gc, "Requires a gc module.")
955950
def test_preexec_gc_module_failure(self):
956951
# This tests the code that disables garbage collection if the child
957952
# process will execute any Python.

0 commit comments

Comments
 (0)