Skip to content

Commit 935e35b

Browse files
author
Matthew Hagemann
committed
Updating test to expect passing
1 parent a5f08d7 commit 935e35b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Lib/test/test_trace.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,6 @@ def test_simple_caller(self):
298298
}
299299
self.assertEqual(self.tracer.results().calledfuncs, expected)
300300

301-
# TODO: RUSTPYTHON, gc
302-
@unittest.expectedFailure
303301
def test_arg_errors(self):
304302
res = self.tracer.runfunc(traced_capturer, 1, 2, self=3, func=4)
305303
self.assertEqual(res, ((1, 2), {'self': 3, 'func': 4}))
@@ -552,8 +550,6 @@ def test_listfuncs_flag_success(self):
552550
expected = f'filename: {filename}, modulename: {modulename}, funcname: <module>'
553551
self.assertIn(expected.encode(), stdout)
554552

555-
# TODO: RUSTPYTHON
556-
@unittest.expectedFailure
557553
def test_sys_argv_list(self):
558554
with open(TESTFN, 'w', encoding='utf-8') as fd:
559555
self.addCleanup(unlink, TESTFN)
@@ -591,8 +587,6 @@ def f():
591587
self.assertIn('lines cov% module (path)', stdout)
592588
self.assertIn(f'6 100% {modulename} ({filename})', stdout)
593589

594-
# TODO: RUSTPYTHON
595-
@unittest.expectedFailure
596590
def test_run_as_module(self):
597591
assert_python_ok('-m', 'trace', '-l', '--module', 'timeit', '-n', '1')
598592
assert_python_failure('-m', 'trace', '-l', '--module', 'not_a_module_zzz')

0 commit comments

Comments
 (0)