Skip to content

Commit 3ce9a51

Browse files
Update Lib/test/pickletester.py
Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 005f2f2 commit 3ce9a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/pickletester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ def test_issue135241(self):
10181018
# to bypass truthy/falsy comparisons. These payloads should return
10191019
# 0, not False.
10201020
out1 = self.loads(b'I+0\n.')
1021-
self.assertTrue(str(out1) == str(0))
1021+
self.assertEqual(str(out1), '0')
10221022
out2 = self.loads(b'I 0\n.')
10231023
self.assertTrue(str(out2) == str(0))
10241024

0 commit comments

Comments
 (0)