summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_venv.py
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-02-07 12:28:18 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2014-02-07 12:28:18 (GMT)
commitd49fa5eb11caa677195fa9a4086552e4533f3dff (patch)
tree82720f607570966db86a574775ff71c62e6f243e /Lib/test/test_venv.py
parentf28ba369dd068a76ff5b7efac58fdcb5c3eaf4dd (diff)
downloadcpython-d49fa5eb11caa677195fa9a4086552e4533f3dff.zip
cpython-d49fa5eb11caa677195fa9a4086552e4533f3dff.tar.gz
cpython-d49fa5eb11caa677195fa9a4086552e4533f3dff.tar.bz2
Issue #20053: Actually test relevant assumption
Diffstat (limited to 'Lib/test/test_venv.py')
-rw-r--r--Lib/test/test_venv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py
index 58551be..bbbf737 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"")