Skip to content
Open

gc #7

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ serde = { version = "1.0.225", default-features = false }
schannel = "0.1.28"
scoped-tls = "1"
scopeguard = "1"
memoffset = "0.9"
atomic = "0.5"
static_assertions = "1.1"
strum = "0.27"
strum_macros = "0.27"
Expand Down
7 changes: 0 additions & 7 deletions Lib/test/support/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,13 +869,6 @@ def disable_gc():

@contextlib.contextmanager
def gc_threshold(*args):
# TODO: RUSTPYTHON; GC is not supported yet
try:
yield
finally:
pass
return

import gc
old_threshold = gc.get_threshold()
gc.set_threshold(*args)
Expand Down
2 changes: 0 additions & 2 deletions Lib/test/test_builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2328,8 +2328,6 @@ def test_baddecorator(self):

class ShutdownTest(unittest.TestCase):

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_cleanup(self):
# Issue #19255: builtins are still available at shutdown
code = """if 1:
Expand Down
2 changes: 0 additions & 2 deletions Lib/test/test_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,6 @@ def test_copy_fuzz(self):
self.assertNotEqual(d, d2)
self.assertEqual(len(d2), len(d) + 1)

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_copy_maintains_tracking(self):
class A:
pass
Expand Down
Loading
Loading