churchyard / rpms / python2

Forked from rpms/python2 6 years ago
Clone
866e929
diff -up Python-2.7.2/Lib/test/test_dl.py.skip-test_dl Python-2.7.2/Lib/test/test_dl.py
866e929
--- Python-2.7.2/Lib/test/test_dl.py.skip-test_dl	2011-09-08 15:18:40.529034289 -0400
866e929
+++ Python-2.7.2/Lib/test/test_dl.py	2011-09-08 16:29:45.184742670 -0400
866e929
@@ -13,6 +13,9 @@ sharedlibs = [
866e929
     ('/usr/lib/libc.dylib', 'getpid'),
866e929
     ]
866e929
 
866e929
+# (also, "dl" is deprecated in favor of ctypes)
866e929
+@unittest._skipInRpmBuild('fails on 64-bit builds: '
866e929
+    'module dl requires sizeof(int) == sizeof(long) == sizeof(char*)')
866e929
 def test_main():
866e929
     for s, func in sharedlibs:
866e929
         try: