From 395618d3d37c5c4092466f4c5ea6919925fda681 Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Fri, 29 Jan 2010 02:04:15 -0800 Subject: fixed unicode problems in 2.6 --- testall.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testall.py') diff --git a/testall.py b/testall.py index 00c463b9..bf5e1a99 100644 --- a/testall.py +++ b/testall.py @@ -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""" -- cgit v1.2.3