Commit 0b7d713f authored by Jason R. Coombs's avatar Jason R. Coombs

Fix test failure on Python 2

parent cdb9797a
......@@ -245,6 +245,8 @@ class TestWorkingSet:
ws.resolve(parse_requirements("Foo\nBar\n"))
msg = "Baz 1.0 is installed but Baz==2.0 is required by {'Bar'}"
if pkg_resources.PY2:
msg = msg.replace("{'Bar'}", "set(['Bar'])")
assert vc.value.report() == msg
......
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