1
0
mirror of synced 2024-11-06 01:18:51 +01:00

Remove a useless file

This commit is contained in:
jvoisin 2018-03-13 01:01:18 +01:00
parent 67ce0f739f
commit 069765376d

View File

@ -1,22 +0,0 @@
#!/usr/bin/python3
import unittest
class TestCleaning(unittest.TestCase):
def test_pdf(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()