Skip to content

Commit 06292d0

Browse files
committed
refactor: use boolean literals instead of integers 0/1
1 parent 31c81ab commit 06292d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_tkinter/test_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ def test_debug(self):
1717
text = self.text
1818
olddebug = text.debug()
1919
try:
20-
text.debug(0)
20+
text.debug(False)
2121
self.assertEqual(text.debug(), 0)
22-
text.debug(1)
22+
text.debug(True)
2323
self.assertEqual(text.debug(), 1)
2424
finally:
2525
text.debug(olddebug)

0 commit comments

Comments
 (0)