Skip to content

Commit db76a0a

Browse files
committed
Attempted fix for issue #60 plus logging for debugging ...
1 parent 0a101af commit db76a0a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

future/tests/test_standard_library.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,12 @@ def test_is_py2_stdlib_module(self):
5151
self.assertTrue(not any([standard_library.is_py2_stdlib_module(module)
5252
for module in externalmodules]))
5353

54-
py2modules = [sys, tempfile, os, copy, textwrap]
54+
py2modules = [sys, tempfile, copy, textwrap]
5555
if utils.PY2:
56+
# Debugging:
57+
for module in py2modules:
58+
if hasattr(module, '__file__'):
59+
print(module.__file__, file=sys.stderr)
5660
self.assertTrue(all([standard_library.is_py2_stdlib_module(module)
5761
for module in py2modules]))
5862
else:

0 commit comments

Comments
 (0)