diff options
Diffstat (limited to 'Lib/packaging/tests/support.py')
-rw-r--r-- | Lib/packaging/tests/support.py | 2 |
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 |