Subash Chandran posted: "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"
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.