Commit 1a0644e0 authored by J. Goutin's avatar J. Goutin Committed by GitHub

Update test_msvc.py

parent 2b8cf28f
......@@ -87,7 +87,7 @@ class TestModulePatch:
query_vcvarsall(9.0)
except Exception as exc:
expected = distutils.errors.DistutilsPlatformError
assert isinstance(expected, exc)
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