def setUp(self): log.test_reset() self.assert_not_skipped() # Scale time if configured scale = util.acquireAttribute(self._parents, 'timescale', None) if scale is not None: time.scale(scale) else: time.reset() self.info("Test running with timescale: %r", time._get_scale())
def tearDown(self): log.test_reset() time.reset() signal.reset()