churchyard / rpms / python3

Forked from rpms/python3 3 years ago
Clone

Blame 00104-lib64-fix-for-test_install.patch

0c8875f
--- Python-2.7.2/Lib/distutils/tests/test_install.py.lib64	2011-09-08 17:51:57.851405376 -0400
0c8875f
+++ Python-2.7.2/Lib/distutils/tests/test_install.py	2011-09-08 18:40:46.754205096 -0400
0c8875f
@@ -41,8 +41,9 @@ class InstallTestCase(support.TempdirMan
0c8875f
             self.assertEqual(got, expected)
0c8875f
 
0c8875f
         libdir = os.path.join(destination, "lib", "python")
0c8875f
+        platlibdir = os.path.join(destination, "lib64", "python")
0c8875f
         check_path(cmd.install_lib, libdir)
0c8875f
-        check_path(cmd.install_platlib, libdir)
0c8875f
+        check_path(cmd.install_platlib, platlibdir)
0c8875f
         check_path(cmd.install_purelib, libdir)
0c8875f
         check_path(cmd.install_headers,
0c8875f
                    os.path.join(destination, "include", "python", "foopkg"))