From 4ae6cc9775227922e65e9cf19313d928c4c4c1a3 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Mon, 13 Jan 2020 15:29:27 -0500 Subject: [PATCH] Remove it --- src/allmydata/test/common_util.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/allmydata/test/common_util.py b/src/allmydata/test/common_util.py index 5b3665a31..95647bc36 100644 --- a/src/allmydata/test/common_util.py +++ b/src/allmydata/test/common_util.py @@ -173,20 +173,7 @@ class ShouldFailMixin(object): class TestMixin(SignalMixin): - def setUp(self, repeatable=False): - """ - @param repeatable: install the repeatable_randomness hacks to attempt - to without access to real randomness and real time.time from the - code under test - """ - self.repeatable = repeatable - if self.repeatable: - import repeatable_random - repeatable_random.force_repeatability() - if hasattr(time, 'realtime'): - self.teststarttime = time.realtime() - else: - self.teststarttime = time.time() + def setUp(self): return super(TestMixin, self).setUp() def tearDown(self):