summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Moore <p.f.moore@gmail.com>2016-02-03 14:47:31 +0000
committerPaul Moore <p.f.moore@gmail.com>2016-02-03 15:06:48 +0000
commit3c2e616d789240ed7e4a9783e554ccc3bad89047 (patch)
tree7b255125f0fdae1d1320681803b2be89c2a3c97a
parent29a4a62581c2f3c8804735d7f4734be3c541b44d (diff)
downloadvirtualenv-3c2e616d789240ed7e4a9783e554ccc3bad89047.tar.gz
Abbreviated form on Windows is N.M, not pyNM
-rw-r--r--tests/test_cmdline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index c157de3..9d8cdbd 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -24,7 +24,7 @@ def test_commandline_explicit_interp(tmpdir):
def test_commandline_abbrev_interp(tmpdir):
"""Specifying abbreviated forms of the Python interpreter should work"""
if sys.platform == 'win32':
- fmt = 'py%s%s'
+ fmt = '%s.%s'
else:
fmt = 'python%s.%s'
abbrev = fmt % (sys.version_info[0], sys.version_info[1])