Skip to content

Commit ac6e0e3

Browse files
committed
Use more explicit print()
1 parent ebf179d commit ac6e0e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_pdb.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1810,12 +1810,12 @@ def test_pdb_issue_gh_104301():
18101810
... ]):
18111811
... n = -1
18121812
... import pdb; pdb.Pdb(nosigint=True, readrc=False).set_trace()
1813-
... print(n)
1813+
... print(f"The value of n is {n}")
18141814
> <doctest test.test_pdb.test_pdb_issue_gh_104301[0]>(8)<module>()
1815-
-> print(n)
1815+
-> print(f"The value of n is {n}")
18161816
(Pdb) ! n = 42
18171817
(Pdb) n
1818-
42
1818+
The value of n is 42
18191819
> <doctest test.test_pdb.test_pdb_issue_gh_104301[0]>(1)<module>()
18201820
-> with PdbTestInput([
18211821
(Pdb) continue

0 commit comments

Comments
 (0)