(self)
| 73 | print("Example 3") |
| 74 | class MyTestCase2(unittest.TestCase): |
| 75 | def test_equal(self): |
| 76 | n = 5 |
| 77 | d = 3 |
| 78 | self.assertAlmostEqual(1.667, n / d, places=2) # Changed |
| 79 | |
| 80 | suite = unittest.defaultTestLoader.loadTestsFromTestCase(MyTestCase2) |
| 81 | unittest.TextTestRunner(stream=STDOUT).run(suite) |
nothing calls this directly
no outgoing calls
no test coverage detected