Skip to content

Commit 9140873

Browse files
committed
Update tests
1 parent 70afd90 commit 9140873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_config_handling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def test_rp_log_batch_payload_size(mock_client_init):
160160
def filter_agent_call(warn):
161161
category = getattr(warn, 'category', None)
162162
if category:
163-
return category.__name__ != 'PytestAssertRewriteWarning'
163+
return category.__name__ == 'DeprecationWarning' or category.__name__ == 'RuntimeWarning'
164164
return False
165165

166166

0 commit comments

Comments
 (0)