projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f28ba36
)
Issue #20053: Actually test relevant assumption
author
Nick Coghlan
<ncoghlan@gmail.com>
Fri, 7 Feb 2014 12:28:18 +0000
(22:28 +1000)
committer
Nick Coghlan
<ncoghlan@gmail.com>
Fri, 7 Feb 2014 12:28:18 +0000
(22:28 +1000)
Lib/test/test_venv.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_venv.py
b/Lib/test/test_venv.py
index 58551bed9515877207af3bf46194782de14cd944..bbbf73731a1d38b6a453446187c14399366a6b1e 100644
(file)
--- 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"")