From: Éric Araujo Date: Fri, 17 Feb 2012 16:26:30 +0000 (+0100) Subject: Fix code I unwittingly broke in b0e2d6592a1f (#14038) X-Git-Tag: v3.3.0a1~153^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2180ee641cbbc8c9d2318479907618b5c9cd6006;p=python Fix code I unwittingly broke in b0e2d6592a1f (#14038) --- diff --git a/Lib/packaging/tests/support.py b/Lib/packaging/tests/support.py index 06f06c994c..d76d3dbdee 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