def f(): from time import clock as c now = c() try: now = time except NameError: pass else: self.fail("time should be undefined") try: now = clock except NameError: pass else: self.fail("clock should be undefined")
def f(): from time import clock as c now = c() try: now = time except NameError: pass else: Fail("time should be undefined") try: now = clock except NameError: pass else: Fail("clock should be undefined")