Commit 9f54a642 authored by Denis Bilenko's avatar Denis Bilenko

fix AttributeError in test__examples.py on windows

parent fd0fcfe3
...@@ -56,8 +56,8 @@ def make_test(path): ...@@ -56,8 +56,8 @@ def make_test(path):
for example in simple_examples: for example in simple_examples:
test = make_test(example) test = make_test(example)
globals()[test.__name__] = test
if test is not None: if test is not None:
globals()[test.__name__] = test
print ('Added %s' % test.__name__) print ('Added %s' % test.__name__)
del test del test
......
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