Skip to content

Commit

Permalink
re-enable some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Sep 30, 2023
1 parent b63c8da commit 8bade18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Lib/test/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_pdb_basic_commands():
... 'args', # display function args
... 'continue',
... ]):
... test_function() # doctest: +SKIP
... test_function()
> <doctest test.test_pdb.test_pdb_basic_commands[3]>(3)test_function()
-> ret = test_function_2('baz')
(Pdb) step
Expand Down
2 changes: 0 additions & 2 deletions Lib/test/test_peepholer.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,6 @@ def trace(frame, event, arg):
self.assertNotInBytecode(f, "LOAD_FAST_CHECK")
self.assertEqual(f.__code__.co_code, co_code)

@unittest.skip("fails with instr_ptr")
def test_setting_lineno_one_undefined(self):
code = textwrap.dedent("""\
def f():
Expand Down Expand Up @@ -881,7 +880,6 @@ def trace(frame, event, arg):
self.assertNotInBytecode(f, "LOAD_FAST_CHECK")
self.assertEqual(f.__code__.co_code, co_code)

@unittest.skip("fails with instr_ptr")
def test_setting_lineno_two_undefined(self):
code = textwrap.dedent("""\
def f():
Expand Down

0 comments on commit 8bade18

Please sign in to comment.