summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bufio.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-08-02 12:17:49 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-08-02 12:17:49 (GMT)
commit0dcd80a6c06d0fa1b1250e33e868b196d6d80efc (patch)
tree1a50131cf0cd83f1899ce13aed21ed8d045a767e /Lib/test/test_bufio.py
parentce17f764757306cdcdf1555c67dd0eed8e6bca8a (diff)
downloadcpython-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.py2
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)