Commit 20d91c8a authored by André Anjos's avatar André Anjos 💬
Browse files

Fix python3 tests

parent a44b314c
......@@ -91,7 +91,10 @@ def test_find_versioned_library():
def test_requirement_readout():
from StringIO import StringIO as stringio
if sys.version_info[0] == 3:
from io import StringIO as stringio
from cStringIO import StringIO as stringio
f = """ # this is my requirements file
package-a >= 0.42
Supports Markdown
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