Avoid using scrdir, it's broken.
diff --git a/Lib/test/test_tools.py b/Lib/test/test_tools.py
index 3b89178..7a25069 100644
--- a/Lib/test/test_tools.py
+++ b/Lib/test/test_tools.py
@@ -19,8 +19,8 @@
# and run the tests in that case too?
raise unittest.SkipTest('test irrelevant for an installed Python')
-srcdir = sysconfig.get_config_var('srcdir')
-basepath = os.path.join(os.getcwd(), srcdir, 'Tools')
+basepath = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))),
+ 'Tools')
scriptsdir = os.path.join(basepath, 'scripts')