summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-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():