summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-06-08 20:34:34 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-06-08 20:34:34 (GMT)
commit4182cfd7dba40383ebf9e5a14b27de934827a674 (patch)
treefe666adcfa8da9db43809ac99a9f376b77d5e85e /Lib/test/test_os.py
parent2242fe84f998180e3019a15101b6b06d49d53d52 (diff)
downloadcpython-4182cfd7dba40383ebf9e5a14b27de934827a674.zip
cpython-4182cfd7dba40383ebf9e5a14b27de934827a674.tar.gz
cpython-4182cfd7dba40383ebf9e5a14b27de934827a674.tar.bz2
test_devnull(): Use assertEqual() instead of an assert stmt.
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index b05bffc..22cd112 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -340,7 +340,7 @@ class DevNullTests (unittest.TestCase):
f.write('hello')
f.close()
f = file(os.devnull, 'r')
- assert f.read() == ''
+ self.assertEqual(f.read(), '')
f.close()
def test_main():