Skip to content

Commit 3bfaffd

Browse files
committed
Unskip test_exit
1 parent 6d5283b commit 3bfaffd

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

Lib/test/test_sys.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ class SysModuleTest(unittest.TestCase):
209209
def tearDown(self):
210210
test.support.reap_children()
211211

212-
@unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: (42,) != 42
213212
def test_exit(self):
214213
# call with two arguments
215214
self.assertRaises(TypeError, sys.exit, 42, 42)

crates/vm/src/vm/interpreter.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ where
121121
#[cfg(feature = "threading")]
122122
thread_frames: parking_lot::Mutex::new(std::collections::HashMap::new()),
123123
#[cfg(feature = "threading")]
124-
thread_exceptions: parking_lot::Mutex::new(std::collections::HashMap::new()),
125-
#[cfg(feature = "threading")]
126124
thread_handles: parking_lot::Mutex::new(Vec::new()),
127125
#[cfg(feature = "threading")]
128126
shutdown_handles: parking_lot::Mutex::new(Vec::new()),

crates/vm/src/vm/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ pub struct PyGlobalState {
149149
/// Registry of all threads' slots for sys._current_frames() and sys._current_exceptions()
150150
#[cfg(feature = "threading")]
151151
pub thread_frames: parking_lot::Mutex<HashMap<u64, stdlib::thread::CurrentFrameSlot>>,
152-
/// Registry of all threads' exception slots for sys._current_exceptions()
153-
#[cfg(feature = "threading")]
154-
pub thread_exceptions: parking_lot::Mutex<HashMap<u64, thread::CurrentExceptionSlot>>,
155152
/// Registry of all ThreadHandles for fork cleanup
156153
#[cfg(feature = "threading")]
157154
pub thread_handles: parking_lot::Mutex<Vec<stdlib::thread::HandleEntry>>,

0 commit comments

Comments
 (0)