'Tests there are no logs if `warning_threshold` is not exceeded
@since 3.8.0
@jira_ticket PYTHON-676
@expected_result no logs
@test_category timing'

def test_warning_threshold_respected_no_logging(self):

    tsg = timestamps.MonotonicTimestampGenerator(warning_threshold=2e-06)
    (tsg.last, tsg._last_warn) = (100, 97)
    tsg._next_timestamp(98, tsg.last)
    self.assertEqual(len(self.patched_timestamp_log.warn.call_args_list), 0)
