diff options
author | Nathan Fritz <fritzy@netflint.net> | 2010-01-29 02:12:45 -0800 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2010-01-29 02:12:45 -0800 |
commit | 4d8709859096699ad79b8fce295ab05f2cb31de2 (patch) | |
tree | 8ace75b54d55e556fc546bd8c30bb1e26c8a3040 /testall.py | |
parent | 8ad32d20655c7aac712cf59f70560a89e625c929 (diff) | |
parent | 23b9930c44608e633437c8ec80ef687dd9c0a8b2 (diff) | |
download | slixmpp-4d8709859096699ad79b8fce295ab05f2cb31de2.tar.gz slixmpp-4d8709859096699ad79b8fce295ab05f2cb31de2.tar.bz2 slixmpp-4d8709859096699ad79b8fce295ab05f2cb31de2.tar.xz slixmpp-4d8709859096699ad79b8fce295ab05f2cb31de2.zip |
Merge branch 'develop'
Diffstat (limited to 'testall.py')
-rw-r--r-- | testall.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,7 +10,10 @@ class testoverall(unittest.TestCase): """Testing all modules by compiling them""" import compileall import re - self.failUnless(compileall.compile_dir('.' + os.sep + 'sleekxmpp', rx=re.compile('/[.]svn'), quiet=True)) + if sys.version_info < (3,0): + self.failUnless(compileall.compile_dir('.' + os.sep + 'sleekxmpp', rx=re.compile('/[.]svn'), quiet=True)) + else: + self.failUnless(compileall.compile_dir('.' + os.sep + 'sleekxmpp', rx=re.compile('/[.]svn|26.py'), quiet=True)) def testTabNanny(self): """Invoking the tabnanny""" |