Skip to content

Commit 15e1ed6

Browse files
manisha1997Copilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent 136b1e9 commit 15e1ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/rest/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_edge_deprecation_warning(self):
8484
Client(username="username", password="password", edge="edge") # Trigger the warning
8585

8686
# Check if a warning was raised
87-
self.assertTrue(len(w) > 0)
87+
self.assertGreater(len(w), 0)
8888
self.assertTrue(issubclass(w[-1].category, DeprecationWarning))
8989
self.assertIn("`edge` is deprecated and will be removed in a future version. Use `region` instead.", str(w[-1].message))
9090

0 commit comments

Comments
 (0)