Skip to content
Merged
2 changes: 2 additions & 0 deletions Lib/test/test_importlib/test_threaded_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# randrange, and then Python hangs.

import _imp as imp
import _multiprocessing # TODO: RUSTPYTHON
import os
import importlib
import sys
Expand Down Expand Up @@ -260,6 +261,7 @@ def test_concurrent_futures_circular_import(self):
'partial', 'cfimport.py')
script_helper.assert_python_ok(fn)

@unittest.skipUnless(hasattr(_multiprocessing, "SemLock"), "TODO: RUSTPYTHON, pool_in_threads.py needs _multiprocessing.SemLock")
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON")
def test_multiprocessing_pool_circular_import(self):
# Regression test for bpo-41567
Expand Down
2 changes: 1 addition & 1 deletion vm/src/stdlib/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ pub(super) mod _os {
}

#[pyfunction]
fn exit(code: i32) {
fn _exit(code: i32) {
std::process::exit(code)
}

Expand Down