supporting py3...

This commit is contained in:
Mattia Larentis 2016-08-09 16:47:35 +02:00
parent ec7a93718f
commit 548230732e

View File

@ -1,12 +1,13 @@
import subprocess
import glob
import six
tests = glob.glob('[A-Za-z]*.py')
excludes = ['runtests.py']
for test in tests:
if test not in excludes:
print '%s ...' % test
six.print_('%s ...' % test)
subprocess.call(['python','./%s' % test])
print 'Done.'
six.print_('Done.')