Searched refs:current_time_func (Results 1 – 1 of 1) sorted by relevance
1288 def disable_warnings(self, warning_type, current_time_func=time.time): argument1292 intervals.append((int(current_time_func()), None))1295 def enable_warnings(self, warning_type, current_time_func=time.time): argument1299 intervals[-1] = (intervals[-1][0], int(current_time_func()))