Skip to content

Commit

Permalink
unskip tests which are now passing
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Oct 11, 2023
1 parent 8b14bde commit d1387ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Lib/test/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1973,7 +1973,7 @@ def test_pdb_next_command_subiterator():
... 'next',
... 'next',
... 'continue']):
... test_function() # doctest: +SKIP
... test_function()
> <doctest test.test_pdb.test_pdb_next_command_subiterator[2]>(3)test_function()
-> for i in test_gen():
(Pdb) step
Expand Down Expand Up @@ -2077,7 +2077,7 @@ def test_pdb_issue_20766():
>>> reset_Breakpoint()
>>> with PdbTestInput(['continue',
... 'continue']):
... test_function() # doctest: +SKIP
... test_function()
> <doctest test.test_pdb.test_pdb_issue_20766[0]>(6)test_function()
-> print('pdb %d: %s' % (i, sess._previous_sigint_handler))
(Pdb) continue
Expand Down Expand Up @@ -2142,7 +2142,7 @@ def test_pdb_issue_gh_91742():
... 'jump 5',
... 'continue'
... ]):
... test_function() # doctest: +SKIP
... test_function()
> <doctest test.test_pdb.test_pdb_issue_gh_91742[0]>(12)test_function()
-> about()
(Pdb) step
Expand Down Expand Up @@ -2296,7 +2296,7 @@ def test_pdb_issue_gh_101517():
>>> with PdbTestInput([ # doctest: +NORMALIZE_WHITESPACE
... 'continue'
... ]):
... test_function() # doctest: +SKIP
... test_function()
--Return--
> <doctest test.test_pdb.test_pdb_issue_gh_101517[0]>(None)test_function()->None
-> Warning: lineno is None
Expand Down
2 changes: 0 additions & 2 deletions Lib/test/test_sys_setprofile.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ def j(p):
(1, 'return', j_ident),
])

@unittest.skip("fails with instr_ptr")
def test_generator(self):
def f():
for i in range(2):
Expand All @@ -256,7 +255,6 @@ def g(p):
(1, 'return', g_ident),
])

@unittest.skip("fails with instr_ptr")
def test_stop_iteration(self):
def f():
for i in range(2):
Expand Down
1 change: 0 additions & 1 deletion Lib/test/test_unittest/testmock/testmock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,6 @@ def foo(a, b): pass
self.assertIn('mock.child', repr(parent.child.mock))


@unittest.skip("fails with instr_ptr")
def test_isinstance_under_settrace(self):
# bpo-36593 : __class__ is not set for a class that has __class__
# property defined when it's used with sys.settrace(trace) set.
Expand Down

0 comments on commit d1387ed

Please sign in to comment.