diff options
author | Nathan Fritz <fritzy@netflint.net> | 2010-01-29 02:04:15 -0800 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2010-01-29 02:04:15 -0800 |
commit | 395618d3d37c5c4092466f4c5ea6919925fda681 (patch) | |
tree | 9566643ad99c9c23167f880bbfd6444d73b30884 /testall.py | |
parent | 980005db5835786d0e8917d5a04b13646cc005fe (diff) | |
download | slixmpp-395618d3d37c5c4092466f4c5ea6919925fda681.tar.gz slixmpp-395618d3d37c5c4092466f4c5ea6919925fda681.tar.bz2 slixmpp-395618d3d37c5c4092466f4c5ea6919925fda681.tar.xz slixmpp-395618d3d37c5c4092466f4c5ea6919925fda681.zip |
fixed unicode problems in 2.6
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""" |