(self)
| 62 | s.price = -45.23 |
| 63 | |
| 64 | def test_bad_attribute(self): |
| 65 | s = stock.Stock('GOOG', 100, 490.1) |
| 66 | with self.assertRaises(AttributeError): |
| 67 | s.share = 100 |
| 68 | |
| 69 | if __name__ == '__main__': |
| 70 | unittest.main() |
nothing calls this directly
no outgoing calls
no test coverage detected