Skip to content

Commit 5222c62

Browse files
authored
Fix new lint failure. (#7382)
F632 use ==/!= to compare str, bytes, and int literals.
1 parent e2e36b2 commit 5222c62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api_core/tests/unit/test_page_iterator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def test_iterate_with_max_results(self):
514514

515515
method.assert_called_with(request)
516516
assert method.call_count == 2
517-
assert request.page_token is "1"
517+
assert request.page_token == "1"
518518

519519

520520
class GAXPageIterator(object):

0 commit comments

Comments
 (0)