From 75df096aed57cda6792c6643b35735a0a99f9c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferenc=20G=C3=A9czi?= Date: Thu, 10 Mar 2022 00:00:00 +0000 Subject: [PATCH] fix(test): Exchange deprecated assert to non-deprecated --- tests/frameworks/test_flask.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/frameworks/test_flask.py b/tests/frameworks/test_flask.py index d561d196..a0469d99 100644 --- a/tests/frameworks/test_flask.py +++ b/tests/frameworks/test_flask.py @@ -121,7 +121,7 @@ def test_get_request_with_suppression(self): self.assertFalse(any(map(lambda x: x.l != 0, spans))) # Assert that there are no spans in the recorded list - self.assertEquals(spans, []) + self.assertEqual(spans, []) def test_get_request_with_suppression_and_w3c(self): headers = { @@ -146,7 +146,7 @@ def test_get_request_with_suppression_and_w3c(self): self.assertFalse(any(map(lambda x: x.l != 0, spans))) # Assert that there are no spans in the recorded list - self.assertEquals(spans, []) + self.assertEqual(spans, []) def test_synthetic_request(self): headers = {