File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
test_multiprocessing_forkserver
test_multiprocessing_fork
test_multiprocessing_spawn Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ def test_args_argument(self): super().test_args_argument() # TODO: RUSTPYTHON
2222 @unittest .skipIf (sys .platform == 'linux' , 'TODO: RUSTPYTHON flaky timeout' )
2323 def test_process (self ): super ().test_process () # TODO: RUSTPYTHON
2424
25+ class WithProcessesTestHeap (WithProcessesTestHeap ): # TODO: RUSTPYTHON
26+ @unittest .skipIf ( # TODO: RUSTPYTHON
27+ sys .platform == 'linux' and 'RUSTPYTHON_SKIP_ENV_POLLUTERS' in os .environ , # TODO: RUSTPYTHON
28+ 'TODO: RUSTPYTHON environment pollution when running rustpython -m test --fail-env-changed due to gc threshold change'
29+ ) # TODO: RUSTPYTHON
30+ def test_free_from_gc (self ): super ().test_free_from_gc () # TODO: RUSTPYTHON
31+
2532class WithProcessesTestPool (WithProcessesTestPool ): # TODO: RUSTPYTHON
2633 @unittest .skipIf ( # TODO: RUSTPYTHON
2734 sys .platform == 'linux' and 'RUSTPYTHON_SKIP_ENV_POLLUTERS' in os .environ , # TODO: RUSTPYTHON
Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ def test_repr_lock(self): super().test_repr_lock() # TODO: RUSTPYTHON
2222 ) # TODO: RUSTPYTHON
2323 def test_repr_rlock (self ): super ().test_repr_rlock () # TODO: RUSTPYTHON
2424
25+ class WithProcessesTestHeap (WithProcessesTestHeap ): # TODO: RUSTPYTHON
26+ @unittest .skipIf ( # TODO: RUSTPYTHON
27+ 'RUSTPYTHON_SKIP_ENV_POLLUTERS' in os .environ , # TODO: RUSTPYTHON
28+ 'TODO: RUSTPYTHON environment pollution when running rustpython -m test --fail-env-changed due to gc threshold change'
29+ ) # TODO: RUSTPYTHON
30+ def test_free_from_gc (self ): super ().test_free_from_gc () # TODO: RUSTPYTHON
31+
2532class WithProcessesTestPool (WithProcessesTestPool ): # TODO: RUSTPYTHON
2633 @unittest .skipIf ( # TODO: RUSTPYTHON
2734 'RUSTPYTHON_SKIP_ENV_POLLUTERS' in os .environ , # TODO: RUSTPYTHON
Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ def test_repr_lock(self): super().test_repr_lock() # TODO: RUSTPYTHON
2020 ) # TODO: RUSTPYTHON
2121 def test_repr_rlock (self ): super ().test_repr_rlock () # TODO: RUSTPYTHON
2222
23+ class WithProcessesTestHeap (WithProcessesTestHeap ): # TODO: RUSTPYTHON
24+ @unittest .skipIf ( # TODO: RUSTPYTHON
25+ sys .platform in ('darwin' , 'linux' ) and 'RUSTPYTHON_SKIP_ENV_POLLUTERS' in os .environ , # TODO: RUSTPYTHON
26+ 'TODO: RUSTPYTHON environment pollution when running rustpython -m test --fail-env-changed due to gc threshold change'
27+ ) # TODO: RUSTPYTHON
28+ def test_free_from_gc (self ): super ().test_free_from_gc () # TODO: RUSTPYTHON
29+
2330class WithProcessesTestPool (WithProcessesTestPool ): # TODO: RUSTPYTHON
2431 @unittest .skipIf ( # TODO: RUSTPYTHON
2532 sys .platform in ('darwin' , 'linux' ) and 'RUSTPYTHON_SKIP_ENV_POLLUTERS' in os .environ , # TODO: RUSTPYTHON
Original file line number Diff line number Diff line change @@ -1957,6 +1957,7 @@ def test_threaded_weak_valued_pop(self):
19571957 x = d .pop (10 , 10 )
19581958 self .assertIsNot (x , None ) # we never put None in there!
19591959
1960+ @unittest .skip ("TODO: RUSTPYTHON; race condition between GC and WeakValueDictionary callback" )
19601961 @threading_helper .requires_working_threading ()
19611962 def test_threaded_weak_valued_consistency (self ):
19621963 # Issue #28427: old keys should not remove new values from
You can’t perform that action at this time.
0 commit comments