diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-08-02 12:17:49 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-08-02 12:17:49 (GMT) |
commit | 0dcd80a6c06d0fa1b1250e33e868b196d6d80efc (patch) | |
tree | 1a50131cf0cd83f1899ce13aed21ed8d045a767e /Lib/test/test_bufio.py | |
parent | ce17f764757306cdcdf1555c67dd0eed8e6bca8a (diff) | |
download | cpython-0dcd80a6c06d0fa1b1250e33e868b196d6d80efc.zip cpython-0dcd80a6c06d0fa1b1250e33e868b196d6d80efc.tar.gz cpython-0dcd80a6c06d0fa1b1250e33e868b196d6d80efc.tar.bz2 |
Issue #20557: Use specific asserts in io tests.
Diffstat (limited to 'Lib/test/test_bufio.py')
-rw-r--r-- | Lib/test/test_bufio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bufio.py b/Lib/test/test_bufio.py index 6338ad8..9931c84 100644 --- a/Lib/test/test_bufio.py +++ b/Lib/test/test_bufio.py @@ -34,7 +34,7 @@ class BufferSizeTest: 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) |