Author: Brian Kearns <[email protected]>
Branch: stdlib-2.7.9
Changeset: r75039:196b3896b1cd
Date: 2014-12-19 12:49 -0500
http://bitbucket.org/pypy/pypy/changeset/196b3896b1cd/
Log: fix test_sysconfig by skipping cpython-specific test
diff --git a/lib-python/2.7/test/test_sysconfig.py
b/lib-python/2.7/test/test_sysconfig.py
--- a/lib-python/2.7/test/test_sysconfig.py
+++ b/lib-python/2.7/test/test_sysconfig.py
@@ -8,7 +8,7 @@
from copy import copy, deepcopy
from test.test_support import (run_unittest, TESTFN, unlink, get_attribute,
- import_module)
+ import_module, check_impl_detail)
import sysconfig
from sysconfig import (get_paths, get_platform, get_config_vars,
@@ -256,6 +256,8 @@
'posix_home', 'posix_prefix', 'posix_user', 'pypy')
self.assertEqual(get_scheme_names(), wanted)
+ @unittest.skipIf(check_impl_detail(pypy=True),
+ 'Test is not PyPy compatible')
@unittest.skipIf(sys.platform.startswith('win'),
'Test is not Windows compatible')
def test_get_makefile_filename(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit