From 380f0e4e38d5e1be988f60aea76e1172c03e2c56 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 4 Dec 2020 00:20:51 +0100 Subject: Tests: Remove tabnanny it is not actively useful and takes 70% of the time of the tests --- tests/test_overall.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/test_overall.py b/tests/test_overall.py index 70c34a6a..16ac2f83 100644 --- a/tests/test_overall.py +++ b/tests/test_overall.py @@ -2,9 +2,9 @@ import os import re import sys import unittest -import tabnanny import compileall + class TestOverall(unittest.TestCase): """ @@ -18,9 +18,5 @@ class TestOverall(unittest.TestCase): rx = re.compile('/[.]svn|.*26.*') 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) -- cgit v1.2.3