We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 136b1e9 commit 15e1ed6Copy full SHA for 15e1ed6
tests/unit/rest/test_client.py
@@ -84,7 +84,7 @@ def test_edge_deprecation_warning(self):
84
Client(username="username", password="password", edge="edge") # Trigger the warning
85
86
# Check if a warning was raised
87
- self.assertTrue(len(w) > 0)
+ self.assertGreater(len(w), 0)
88
self.assertTrue(issubclass(w[-1].category, DeprecationWarning))
89
self.assertIn("`edge` is deprecated and will be removed in a future version. Use `region` instead.", str(w[-1].message))
90
0 commit comments