Skip to content

Commit d5fe8b4

Browse files
committed
PYTHON-5784 Rename r to executor_repr in repr test
1 parent 4e90c00 commit d5fe8b4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

test/asynchronous/test_periodic_executor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ async def asyncTearDown(self):
5959
class TestAsyncPeriodicExecutorRepr(AsyncUnitTest):
6060
async def test_repr_contains_class_and_name(self):
6161
executor = _make_executor(name="exec")
62-
r = repr(executor)
63-
self.assertIn("AsyncPeriodicExecutor", r)
64-
self.assertIn("exec", r)
62+
executor_repr = repr(executor)
63+
self.assertIn("AsyncPeriodicExecutor", executor_repr)
64+
self.assertIn("exec", executor_repr)
6565

6666

6767
class TestAsyncPeriodicExecutorBasic(AsyncPeriodicExecutorTestBase):

test/test_periodic_executor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ def tearDown(self):
5757
class TestPeriodicExecutorRepr(UnitTest):
5858
def test_repr_contains_class_and_name(self):
5959
executor = _make_executor(name="exec")
60-
r = repr(executor)
61-
self.assertIn("PeriodicExecutor", r)
62-
self.assertIn("exec", r)
60+
executor_repr = repr(executor)
61+
self.assertIn("PeriodicExecutor", executor_repr)
62+
self.assertIn("exec", executor_repr)
6363

6464

6565
class TestPeriodicExecutorBasic(PeriodicExecutorTestBase):

0 commit comments

Comments
 (0)