cpython: c88606bd5287 (original) (raw)

--- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -223,7 +223,19 @@ class HelperFunctionsTests(unittest.Test self.assertEqual(len(dirs), 1) wanted = os.path.join('xoxo', 'Lib', 'site-packages') self.assertEqual(dirs[0], wanted)

@@ -231,21 +243,12 @@ class HelperFunctionsTests(unittest.Test wanted = os.path.join('xoxo', 'lib', 'site-python') self.assertEqual(dirs[1], wanted) else:

- class PthFile(object): """Helper class for handling testing of .pth files"""

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -466,6 +466,8 @@ Core and Builtins Library ------- +- Issue #10881: Fix test_site failure with OS X framework builds. +