Commit 9a6c9528 authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #675 from JGoutin/patch-1

Fix test failure in Appveyor around MSVC support
parents 8a133bd9 1a0644e0
......@@ -83,9 +83,11 @@ class TestModulePatch:
with mock_reg():
assert find_vcvarsall(9.0) is None
expected = distutils.errors.DistutilsPlatformError
with pytest.raises(expected) as exc:
try:
query_vcvarsall(9.0)
except Exception as exc:
expected = distutils.errors.DistutilsPlatformError
assert isinstance(exc, expected)
assert 'aka.ms/vcpython27' in str(exc)
@pytest.yield_fixture
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment