def test_stop_track(self):
    tracemalloc.start()
    tracemalloc.stop()
    with self.assertRaises(RuntimeError):
        self.track()
    self.assertIsNone(self.get_traceback())
def test_stop_track(self):
    tracemalloc.start()
    tracemalloc.stop()
    with self.assertRaises(RuntimeError):
        self.track()
    self.assertIsNone(self.get_traceback())