Searched refs:current_time_func (Results 1 – 1 of 1) sorted by relevance
1563 def disable_warnings(self, warning_type, current_time_func=time.time): argument1567 intervals.append((int(current_time_func()), None))1570 def enable_warnings(self, warning_type, current_time_func=time.time): argument1574 intervals[-1] = (intervals[-1][0], int(current_time_func()))