diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-08-02 15:18:28 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-08-02 15:18:28 +0300 |
commit | b064f1e94f615ae6a9cfa2ce288b1b102dc9d870 (patch) | |
tree | fae2afe1a387622ddc77eb7195c061bdef493d01 /Lib/test/test_bufio.py | |
parent | 13db76a9743f4a414339efb1cfd5b3365806e463 (diff) | |
parent | 0dcd80a6c06d0fa1b1250e33e868b196d6d80efc (diff) | |
download | cpython-git-b064f1e94f615ae6a9cfa2ce288b1b102dc9d870.tar.gz |
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 6338ad8e3c..9931c84680 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) |