Skip to content

Commit 5d4faf0

Browse files
fanninpmyouknowone
authored andcommitted
Skip tests that sometimes hang the CI
Tested with `act`.
1 parent e277acc commit 5d4faf0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Lib/test/lock_tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def f():
128128
self.assertFalse(result[0])
129129
lock.release()
130130

131+
@unittest.skip("TODO: RUSTPYTHON, sometimes hangs")
131132
def test_acquire_contended(self):
132133
lock = self.locktype()
133134
lock.acquire()

Lib/test/test_importlib/test_locks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def f():
8787
self.assertEqual(len(results), NTHREADS)
8888
return results
8989

90+
@unittest.skip("TODO: RUSTPYTHON, sometimes hangs")
9091
def test_deadlock(self):
9192
results = self.run_deadlock_avoidance_test(True)
9293
# At least one of the threads detected a potential deadlock on its

0 commit comments

Comments
 (0)