Tests: Remove tabnanny
it is not actively useful and takes 70% of the time of the tests
This commit is contained in:
parent
56f44dc47d
commit
380f0e4e38
1 changed files with 1 additions and 5 deletions
|
@ -2,9 +2,9 @@ import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import unittest
|
import unittest
|
||||||
import tabnanny
|
|
||||||
import compileall
|
import compileall
|
||||||
|
|
||||||
|
|
||||||
class TestOverall(unittest.TestCase):
|
class TestOverall(unittest.TestCase):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@ -18,9 +18,5 @@ class TestOverall(unittest.TestCase):
|
||||||
rx = re.compile('/[.]svn|.*26.*')
|
rx = re.compile('/[.]svn|.*26.*')
|
||||||
self.assertTrue(compileall.compile_dir(src, rx=rx, quiet=True))
|
self.assertTrue(compileall.compile_dir(src, rx=rx, quiet=True))
|
||||||
|
|
||||||
def testTabNanny(self):
|
|
||||||
"""Testing that indentation is consistent"""
|
|
||||||
self.assertFalse(tabnanny.check('..%sslixmpp' % os.sep))
|
|
||||||
|
|
||||||
|
|
||||||
suite = unittest.TestLoader().loadTestsFromTestCase(TestOverall)
|
suite = unittest.TestLoader().loadTestsFromTestCase(TestOverall)
|
||||||
|
|
Loading…
Reference in a new issue