From b31b2e199b917c16fd6957daa0c9f70a39c35ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Val=C3=AD=C4=8Dek?= Date: Fri, 15 Jul 2022 15:10:43 +0200 Subject: [PATCH] Remove obsolette unittest case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Václav Valíček --- tests/test_abcd.py | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 tests/test_abcd.py diff --git a/tests/test_abcd.py b/tests/test_abcd.py deleted file mode 100644 index e023706..0000000 --- a/tests/test_abcd.py +++ /dev/null @@ -1,24 +0,0 @@ -import unittest - - -class TestStringMethods(unittest.TestCase): - - def test_upper(self): - self.assertEqual('foo'.upper(), 'FOO') - - def test_isupper(self): - self.assertTrue('FOO'.isupper()) - self.assertFalse('Foo'.isupper()) - - def test_split(self): - s = 'hello world' - self.assertEqual(s.split(), ['hello', 'world']) - # check that s.split fails when the separator is not a string - with self.assertRaises(TypeError): - s.split(2) - - - -if __name__ == '__main__': - unittest.main() -