From 2d7bafa12d38d4aaabd3d5882c650e2c5ac583e0 Mon Sep 17 00:00:00 2001 From: CLARKBENHAM Date: Tue, 2 Apr 2024 17:18:56 -0700 Subject: [PATCH] comments --- tests/test_ratelimit.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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