##// END OF EJS Templates
Fix else
Douglas Blank -
Show More
@@ -61,7 +61,7 b' if resource is not None and hasattr(resource, "getrusage"):'
61 61
62 62 Similar to clock(), but return a tuple of user/system times."""
63 63 return resource.getrusage(resource.RUSAGE_SELF)[:2]
64 except ImportError:
64 else:
65 65 # There is no distinction of user/system time under windows, so we just use
66 66 # time.perff_counter() for everything...
67 67 clocku = clocks = clock = time.perf_counter
General Comments 0
You need to be logged in to leave comments. Login now