Commit 4fd76bf0 authored by Denis Bilenko's avatar Denis Bilenko

test__examples.py: do not run unix-only examples on windows

parent 43e79da0
......@@ -31,6 +31,10 @@ print ('\n'.join(examples))
def make_test(path):
if sys.platform == 'win32' and os.path.basename(path) in ('geventsendfile.py', 'processes.py'):
print 'Ignoring', path
return
if ' ' in path:
path = '"%s"' % path
......@@ -53,6 +57,7 @@ def make_test(path):
for example in simple_examples:
test = make_test(example)
globals()[test.__name__] = test
if test is not None:
print ('Added %s' % test.__name__)
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