Remove unused variable in test.

This commit is contained in:
Dave Shawley 2021-05-10 06:45:19 -04:00
parent ed67689fe2
commit 89d20a5f89
No known key found for this signature in database
GPG key ID: F41A8A99298F8EED

View file

@ -378,7 +378,7 @@ class ConnectorTests(ProcessorTestCase):
# then overflow it a bunch of times
overflow_count = self.connector._enqueue_log_guard.threshold * 5
for value in range(overflow_count):
for _ in range(overflow_count):
self.connector.incr('counter')
self.assertLess(self.connector.logger.warning.call_count,
overflow_count)