| Conditions | 5 | 
| Total Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| 1 | import sys  | 
            ||
| 9 | def test_fail_instantation(self):  | 
            ||
| 10 | with self.assertRaises(ValueError):  | 
            ||
| 11 | TextPosition(None, 2)  | 
            ||
| 12 | |||
| 13 | with self.assertRaises(TypeError):  | 
            ||
| 14 |             TextPosition("hello", 3) | 
            ||
| 15 | |||
| 16 | with self.assertRaises(TypeError):  | 
            ||
| 17 | TextPosition(4, "world")  | 
            ||
| 18 | |||
| 19 | with self.assertRaises(TypeError):  | 
            ||
| 20 |             TextPosition("double", "string") | 
            ||
| 21 | |||
| 38 |