Commit 15d10c36 authored by Jason R. Coombs's avatar Jason R. Coombs

Now running under tox, Python 2.6 gets a non-zero PYTHONHASHSEED, so tests are simpler.

parent 3e3d83ad
......@@ -94,10 +94,6 @@ class TestEggInfo(object):
Assert that the strings in expected appear in content
in order.
"""
if sys.version_info < (2, 7):
# On Python 2.6, expect dict key order.
expected = dict.fromkeys(expected).keys()
pattern = '.*'.join(expected)
flags = re.MULTILINE | re.DOTALL
assert re.search(pattern, content, flags)
......
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