We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6864aab commit e6d27a2Copy full SHA for e6d27a2
toolz/tests/test_tlz.py
@@ -46,8 +46,10 @@ def test_tlz():
46
except ImportError:
47
pass
48
49
- assert tlz.__file__ == toolz.__file__
50
- assert tlz.functoolz.__file__ == toolz.functoolz.__file__
+ if hasattr(tlz, '__file__'):
+ assert tlz.__file__ == toolz.__file__
51
+ if hasattr(tlz.functoolz, '__file__'):
52
+ assert tlz.functoolz.__file__ == toolz.functoolz.__file__
53
54
assert tlz.pipe is toolz.pipe
55
0 commit comments