Don't run example for old pythons

This commit is contained in:
Mike Romberg 2016-02-12 15:56:28 -07:00
commit c0cc731ca8
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,10 @@
import os, sys, setupPkg
# These examples rely on namespace packages. Don't
# run them for old python interpreters.
if sys.version_info < (3, 3, 0):
sys.exit(0)
setupPkg.copyMods()
# Run each test with a seperate interpreter