diff --git a/bindings/python/tests/cancellation_timeout_tests.py b/bindings/python/tests/cancellation_timeout_tests.py index fc7a318218..7a90f70d78 100755 --- a/bindings/python/tests/cancellation_timeout_tests.py +++ b/bindings/python/tests/cancellation_timeout_tests.py @@ -416,7 +416,7 @@ def test_timeouts(db): def test_combinations(db): # (1) Cancellation does survive on_error() even when retry limit is hit @retry_with_timeout(default_timeout) - def txn2(tr): + def txn1(tr): tr.options.set_retry_limit(0) tr.cancel() try: