summaryrefslogtreecommitdiffstats
path: root/Lib/packaging
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2012-02-17 16:26:30 (GMT)
committerÉric Araujo <merwok@netwok.org>2012-02-17 16:26:30 (GMT)
commit2180ee641cbbc8c9d2318479907618b5c9cd6006 (patch)
tree8663f07f6d31f99cfb2c32e6b2b4c59fc1fa0e49 /Lib/packaging
parente8c5fdba30dd391ba885063b62949f5bd356544b (diff)
downloadcpython-2180ee641cbbc8c9d2318479907618b5c9cd6006.zip
cpython-2180ee641cbbc8c9d2318479907618b5c9cd6006.tar.gz
cpython-2180ee641cbbc8c9d2318479907618b5c9cd6006.tar.bz2
Fix code I unwittingly broke in b0e2d6592a1f (#14038)
Diffstat (limited to 'Lib/packaging')
-rw-r--r--Lib/packaging/tests/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/tests/support.py b/Lib/packaging/tests/support.py
index 06f06c9..d76d3db 100644
--- a/Lib/packaging/tests/support.py
+++ b/Lib/packaging/tests/support.py
@@ -342,7 +342,7 @@ def _get_xxmodule_path():
srcdir = sysconfig.get_config_var('projectbase')
path = os.path.join(os.getcwd(), srcdir, 'Modules', 'xxmodule.c')
else:
- os.path.join(os.path.dirname(__file__), 'xxmodule.c')
+ path = os.path.join(os.path.dirname(__file__), 'xxmodule.c')
if os.path.exists(path):
return path