~ubuntu-branches/ubuntu/precise/python3.2/precise-proposed

« back to all changes in this revision

Viewing changes to xx

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-09 18:40:39 UTC
  • mfrom: (30.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120309184039-j3yk2emxr1plyo21
Tags: 3.2.3~rc1-1
* Python 3.2.3 release candidate 1.
* Update to 20120309 from the 3.2 branch.
* Fix libpython.a symlink. Closes: #660146.
* Build-depend on xauth.
* Run the gdb tests for the debug build only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: b/Lib/test/test_site.py
2
 
===================================================================
3
 
--- a/Lib/test/test_site.py
4
 
+++ b/Lib/test/test_site.py
5
 
@@ -224,13 +224,21 @@
6
 
             self.assertEqual(dirs[0], wanted)
7
 
         elif os.sep == '/':
8
 
             # OS X non-framwework builds, Linux, FreeBSD, etc
9
 
-            self.assertEqual(len(dirs), 2)
10
 
-            wanted = os.path.join('xoxo', 'lib', 'python' + sys.version[:3],
11
 
-                                  'site-packages')
12
 
+            self.assertEqual(len(dirs), 4)
13
 
+            wanted = os.path.join('xoxo', 'local', 'lib',
14
 
+                                  'python' + sys.version[:3],
15
 
+                                  'dist-packages')
16
 
             self.assertEqual(dirs[0], wanted)
17
 
-            wanted = os.path.join('xoxo', 'lib', 'site-python')
18
 
+            wanted = os.path.join('xoxo', 'lib',
19
 
+                                  'python3', 'dist-packages')
20
 
             self.assertEqual(dirs[1], wanted)
21
 
+            wanted = os.path.join('xoxo', 'lib',
22
 
+                                  'python' + sys.version[:3],
23
 
+                                  'dist-packages')
24
 
+            self.assertEqual(dirs[2], wanted)
25
 
+            wanted = os.path.join('xoxo', 'lib', 'dist-python')
26
 
+            self.assertEqual(dirs[3], wanted)
27
 
         else:
28
 
             self.assertEqual(len(dirs), 2)
29
 
             self.assertEqual(dirs[0], 'xoxo')