Skip to content

Commit b078243

Browse files
committed
Unmark test_pdb_set_trace EXPECTED_FAILURE
prev_line deferral fix corrects pdb line tracking, making these doctests pass.
1 parent 6788774 commit b078243

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_doctest/test_doctest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,7 +2063,7 @@ def test_pdb_set_trace():
20632063
... 'continue', # stop debugging
20642064
... ''])
20652065
2066-
>>> try: runner.run(test) # TODO: RUSTPYTHON # doctest: +EXPECTED_FAILURE
2066+
>>> try: runner.run(test)
20672067
... finally: sys.stdin = real_stdin
20682068
> <doctest foo-bar@baz[2]>(1)<module>()
20692069
-> import pdb; pdb.set_trace()
@@ -2091,7 +2091,7 @@ def test_pdb_set_trace():
20912091
... 'continue', # stop debugging
20922092
... ''])
20932093
2094-
>>> try: # TODO: RUSTPYTHON # doctest: +EXPECTED_FAILURE
2094+
>>> try:
20952095
... runner.run(test)
20962096
... finally:
20972097
... sys.stdin = real_stdin
@@ -2209,7 +2209,7 @@ def test_pdb_set_trace_nested():
22092209
... 'continue', # stop debugging
22102210
... ''])
22112211
2212-
>>> try: # TODO: RUSTPYTHON # doctest: +EXPECTED_FAILURE
2212+
>>> try:
22132213
... runner.run(test)
22142214
... finally:
22152215
... sys.stdin = real_stdin

0 commit comments

Comments
 (0)