Commit 8a9282c8 authored by Lisandro Dalcin's avatar Lisandro Dalcin

Windows: Fix failing test

parent 089cd33b
...@@ -39,7 +39,9 @@ class ExtTypeAttributes(object): ...@@ -39,7 +39,9 @@ class ExtTypeAttributes(object):
def test(): def test():
import os.path import os.path
assert 'a.py' not in os.path.basename(__file__), __file__ assert not os.path.basename(__file__).endswith('.py'), __file__
assert not os.path.basename(__file__).endswith('.pyc'), __file__
assert not os.path.basename(__file__).endswith('.pyo'), __file__
assert not ExtTypePass().__doc__, ExtTypePass().__doc__ assert not ExtTypePass().__doc__, ExtTypePass().__doc__
assert ExtTypeDocstring().__doc__ == "huhu!", ExtTypeDocstring().__doc__ assert ExtTypeDocstring().__doc__ == "huhu!", ExtTypeDocstring().__doc__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment