commit | ea4d2875ac5dc83864a8313d6252e56295598070 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun Aug 02 15:19:04 2015 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sun Aug 02 15:19:04 2015 +0300 |
tree | 69ff3f0ba979275bfe26f15dcb5fb3a0fe506672 | |
parent | 977be3e7b51359a3900984cead5a703c57009260 [diff] [blame] |
Issue #20557: Use specific asserts in io tests.
diff --git a/Lib/test/test_bufio.py b/Lib/test/test_bufio.py index 108b1e1..d6b12e3 100644 --- a/Lib/test/test_bufio.py +++ b/Lib/test/test_bufio.py
@@ -34,7 +34,7 @@ line = f.readline() self.assertEqual(line, s) line = f.readline() - self.assertTrue(not line) # Must be at EOF + self.assertFalse(line) # Must be at EOF f.close() finally: support.unlink(support.TESTFN)