diff -r 67b0484c9ce4 -r 68010ed1636d contrib/check-py3-compat.py --- a/contrib/check-py3-compat.py Sat Oct 08 19:16:50 2016 +0200 +++ b/contrib/check-py3-compat.py Sun Oct 09 08:31:39 2016 +0200 @@ -58,7 +58,7 @@ name = f.replace('/', '.')[:-3].replace('.pure.', '.') with open(f, 'r') as fh: try: - imp.load_module(name, fh, '', ('py', 'r', imp.PY_SOURCE)) + imp.load_module(name, fh, f, ('py', 'r', imp.PY_SOURCE)) except Exception as e: exc_type, exc_value, tb = sys.exc_info() # We walk the stack and ignore frames from our custom importer,