Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r91550:b30914a448be
Date: 2017-06-06 17:13 +0100
http://bitbucket.org/pypy/pypy/changeset/b30914a448be/
Log: fix test
diff --git a/pypy/module/imp/test/test_import.py
b/pypy/module/imp/test/test_import.py
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -781,11 +781,10 @@
def test_abi_tag(self):
space1 = maketestobjspace(make_config(None, soabi='TEST'))
space2 = maketestobjspace(make_config(None, soabi=''))
+ assert importing.get_so_extension(space1).startswith('.TEST')
if sys.platform == 'win32':
- assert importing.get_so_extension(space1) == '.TESTi.pyd'
assert importing.get_so_extension(space2) == '.pyd'
else:
- assert importing.get_so_extension(space1) == '.TESTi.so'
assert importing.get_so_extension(space2) == '.so'
def _getlong(data):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit