diff --git a/tests/test_ratelimit.py b/tests/test_ratelimit.py index 4ccdeb46eaa..b0e2e212e19 100644 --- a/tests/test_ratelimit.py +++ b/tests/test_ratelimit.py @@ -76,10 +76,10 @@ class ExpectNoException(Exception): @pytest.mark.parametrize( "num_try_send, num_allowed_send", [ - (2, 2), # No exception expected - (10, 10), # No exception expected - (3, 2), # Expect ValueError - (10, 9), # Expect ValueError + (2, 2), # sending as many as allowed, ExpectNoException + # (10, 10), # sending as many as allowed, ExpectNoException + (3, 2), # Sending more than allowed, ValueError + # (10, 9), # Sending more than allowed, ValueError ], ) @pytest.mark.parametrize("sync_mode", [True, False]) # Use parametrization for sync/async