def test_track_already_tracked(self):
    nframe = 5
    tracemalloc.start(nframe)
    self.track()
    frames = self.track(nframe=nframe)
    self.assertEqual(self.get_traceback(), tracemalloc.Traceback(frames))
def test_track_already_tracked(self):
    nframe = 5
    tracemalloc.start(nframe)
    self.track()
    frames = self.track(nframe=nframe)
    self.assertEqual(self.get_traceback(), tracemalloc.Traceback(frames))