Skip to content
Open
Prev Previous commit
Next Next commit
Update comments in test_bdb.py
  • Loading branch information
aisk committed Feb 23, 2026
commit 2c291f0c5c7c80070f16d512ad2def0cd3ab7a1c
3 changes: 3 additions & 0 deletions Lib/test/test_bdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,9 @@ def test_load_bps_from_previous_Bdb_instance(self):
reset_Breakpoint()
db1 = Bdb()
fname = db1.canonic(__file__)
# These line numbers are sensitive to this test file itself.
# They must have associated bytecode, so update them if the file header
# changes.
db1.set_break(__file__, 51)
self.assertEqual(db1.get_all_breaks(), {fname: [51]})

Expand Down