summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Gedminas <marius@gedmin.as>2014-09-28 12:25:50 +0300
committerMarius Gedminas <marius@gedmin.as>2014-09-28 12:25:50 +0300
commite6c99fa4b0a2056009b69144e3a8ed908e2ac053 (patch)
tree32952aa4c0e0c7a467a0cfd9965f89de9090d342
parentbadbed7115dc6de2207b95f1fd1e7c3fddeced37 (diff)
downloadtox-e6c99fa4b0a2056009b69144e3a8ed908e2ac053.tar.gz
Do not rely on specific errno numbers in tests
The error number differs on different platforms (Windows vs Linux).
-rw-r--r--tests/test_z_cmdline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_z_cmdline.py b/tests/test_z_cmdline.py
index 57aba64..00188ac 100644
--- a/tests/test_z_cmdline.py
+++ b/tests/test_z_cmdline.py
@@ -200,7 +200,7 @@ def test_run_custom_install_command_error(cmd, initproj):
})
result = cmd.run("tox")
result.stdout.fnmatch_lines([
- "ERROR: invocation failed (errno 13), args: ['*/tox.ini*",
+ "ERROR: invocation failed (errno *), args: ['*/tox.ini*",
])
assert result.ret