From: Nick Coghlan Date: Fri, 7 Feb 2014 12:28:18 +0000 (+1000) Subject: Issue #20053: Actually test relevant assumption X-Git-Tag: v3.4.0rc1~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d49fa5eb11caa677195fa9a4086552e4533f3dff;p=thirdparty%2FPython%2Fcpython.git Issue #20053: Actually test relevant assumption --- diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py index 58551bed9515..bbbf73731a1d 100644 --- a/Lib/test/test_venv.py +++ b/Lib/test/test_venv.py @@ -291,7 +291,7 @@ class EnsurePipTest(BaseTest): def test_devnull_exists_and_is_empty(self): # Fix for issue #20053 uses os.devnull to force a config file to # appear empty. Make sure that assumption is valid cross platform. - self.assertTrue(os.path.exists, os.devnull) + self.assertTrue(os.path.exists(os.devnull)) with open(os.devnull, "rb") as f: self.assertEqual(f.read(), b"")