(self)
| 27 | self.assertEqual(result, original) |
| 28 | |
| 29 | def testLineGaps(self): |
| 30 | original = "# Something is going on here!\n##SPLOOTCODEEMPTYLINE\nprint('Hello, World!')\n##SPLOOTCODEEMPTYLINE\n##SPLOOTCODEEMPTYLINE" |
| 31 | expected = "# Something is going on here!\n\nprint('Hello, World!')\n\n" |
| 32 | sploot = splootFromPython(original) |
| 33 | result = convertSplootToText(sploot) |
| 34 | self.assertEqual(result, expected) |
| 35 | |
| 36 | def test_empty_if_block(self): |
| 37 | original = "if True:\n pass" |
nothing calls this directly
no test coverage detected