diff options
author | Florian Klien <flowolf@klienux.org> | 2018-10-08 23:25:23 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-10-15 14:59:23 +0200 |
commit | d33366badde6a2d51be8d731834540c03b9a6c49 (patch) | |
tree | 8ecbb3de477371a29e95f1aa4d93b619bfa5f5e4 /tests/test_overall.py | |
parent | 809c50000204f8724bac80cb3359a690fdbc839e (diff) | |
download | slixmpp-d33366badde6a2d51be8d731834540c03b9a6c49.tar.gz slixmpp-d33366badde6a2d51be8d731834540c03b9a6c49.tar.bz2 slixmpp-d33366badde6a2d51be8d731834540c03b9a6c49.tar.xz slixmpp-d33366badde6a2d51be8d731834540c03b9a6c49.zip |
fixing deprecation warnings for pytest
Diffstat (limited to 'tests/test_overall.py')
-rw-r--r-- | tests/test_overall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_overall.py b/tests/test_overall.py index 3f32913c..70c34a6a 100644 --- a/tests/test_overall.py +++ b/tests/test_overall.py @@ -16,11 +16,11 @@ class TestOverall(unittest.TestCase): """Testing all modules by compiling them""" src = '.%sslixmpp' % os.sep rx = re.compile('/[.]svn|.*26.*') - self.failUnless(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.failIf(tabnanny.check('..%sslixmpp' % os.sep)) + self.assertFalse(tabnanny.check('..%sslixmpp' % os.sep)) suite = unittest.TestLoader().loadTestsFromTestCase(TestOverall) |