'@param repeatable: install the repeatable_randomness hacks to attempt
to without access to real randomness and real time.time from the
code under test'

def setUp(self, repeatable=False):

    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()
