def test_is_tracing(self):
    tracemalloc.stop()
    self.assertFalse(tracemalloc.is_tracing())
    tracemalloc.start()
    self.assertTrue(tracemalloc.is_tracing())
def test_is_tracing(self):
    tracemalloc.stop()
    self.assertFalse(tracemalloc.is_tracing())
    tracemalloc.start()
    self.assertTrue(tracemalloc.is_tracing())