fix bad patch 159

This commit is contained in:
David Malcolm 2012-07-23 15:09:13 -04:00
parent 6616179565
commit c85d3fb5f1

View File

@ -1,6 +1,6 @@
diff -up Python-3.3.0b1/Lib/test/test_tools.py.fix-test_tools-directory Python-3.3.0b1/Lib/test/test_tools.py diff -up Python-3.3.0b1/Lib/test/test_tools.py.fix-test_tools-directory Python-3.3.0b1/Lib/test/test_tools.py
--- Python-3.3.0b1/Lib/test/test_tools.py.fix-test_tools-directory 2012-07-23 14:29:51.317348183 -0400 --- Python-3.3.0b1/Lib/test/test_tools.py.fix-test_tools-directory 2012-07-23 15:08:19.271494787 -0400
+++ Python-3.3.0b1/Lib/test/test_tools.py 2012-07-23 14:30:09.883116080 -0400 +++ Python-3.3.0b1/Lib/test/test_tools.py 2012-07-23 15:08:32.183333368 -0400
@@ -19,7 +19,7 @@ if not sysconfig.is_python_build(): @@ -19,7 +19,7 @@ if not sysconfig.is_python_build():
# and run the tests in that case too? # and run the tests in that case too?
raise unittest.SkipTest('test irrelevant for an installed Python') raise unittest.SkipTest('test irrelevant for an installed Python')
@ -9,4 +9,4 @@ diff -up Python-3.3.0b1/Lib/test/test_tools.py.fix-test_tools-directory Python-3
+srcdir = sysconfig.get_config_var('srcdir') +srcdir = sysconfig.get_config_var('srcdir')
basepath = os.path.join(os.getcwd(), srcdir, 'Tools') basepath = os.path.join(os.getcwd(), srcdir, 'Tools')
scriptsdir = os.path.join(basepath, 'scripts') scriptsdir = os.path.join(basepath, 'scripts')
print('srcdir: %r' % srcdir)