Searched refs:current_time_func (Results 1 – 1 of 1) sorted by relevance
1407 def disable_warnings(self, warning_type, current_time_func=time.time): argument1411 intervals.append((int(current_time_func()), None))1414 def enable_warnings(self, warning_type, current_time_func=time.time): argument1418 intervals[-1] = (intervals[-1][0], int(current_time_func()))