diff options
Diffstat (limited to 'tests/test_overall.py')
-rw-r--r-- | tests/test_overall.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/test_overall.py b/tests/test_overall.py index 05fdc6d8..3f32913c 100644 --- a/tests/test_overall.py +++ b/tests/test_overall.py @@ -14,16 +14,13 @@ class TestOverall(unittest.TestCase): def testModules(self): """Testing all modules by compiling them""" - src = '.%ssleekxmpp' % os.sep - if sys.version_info < (3, 0): - rx = re.compile('/[.]svn') - else: - rx = re.compile('/[.]svn|.*26.*') + src = '.%sslixmpp' % os.sep + rx = re.compile('/[.]svn|.*26.*') self.failUnless(compileall.compile_dir(src, rx=rx, quiet=True)) def testTabNanny(self): """Testing that indentation is consistent""" - self.failIf(tabnanny.check('..%ssleekxmpp' % os.sep)) + self.failIf(tabnanny.check('..%sslixmpp' % os.sep)) suite = unittest.TestLoader().loadTestsFromTestCase(TestOverall) |