]> git.pld-linux.org Git - packages/python.git/commitdiff
- updated test_site - our site.getsitepackages() always returns 4 paths
authorsparky <sparky@pld-linux.org>
Sun, 23 Jan 2011 16:13:36 +0000 (16:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-noarch_to_datadir.patch -> 1.12

python-noarch_to_datadir.patch

index 6b93c1615026171b8e2d2c64444626fca8bfaf9f..4120d7e5d2ad92842d52cca62763e9232423397f 100644 (file)
@@ -139,3 +139,14 @@ diff -Nur Python-2.5.orig/Modules/getpath.c Python-2.5/Modules/getpath.c
      bufsz = strlen(zip_path);   /* Replace "00" with version */
      zip_path[bufsz - 6] = VERSION[0];
      zip_path[bufsz - 5] = VERSION[2];
+--- Python-2.7.1/Lib/test/test_site.py~        2011-01-23 16:20:12.113474892 +0100
++++ Python-2.7.1/Lib/test/test_site.py 2011-01-23 16:49:33.930141557 +0100
+@@ -169,7 +169,7 @@
+             wanted = os.path.join('xoxo', sys.lib, 'site-packages')
+             self.assertEqual(dirs[0], wanted)
+         elif os.sep == '/':
+-            self.assertEqual(len(dirs), 2)
++            self.assertEqual(len(dirs), 4)
+             wanted = os.path.join('xoxo', sys.lib, 'python' + sys.version[:3],
+                                   'site-packages')
+             self.assertEqual(dirs[0], wanted)
This page took 0.038017 seconds and 4 git commands to generate.