mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
we're always going to have gc
This commit is contained in:
parent
964561bb7c
commit
b870aa1255
1 changed files with 1 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue