Skip to content

Commit

Permalink
Add test for constant empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
advikkabra committed Feb 10, 2024
1 parent c429ce2 commit 3210c45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration_tests/test_str_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ def is_space():
assert "\n".isspace() == True
assert " ".isspace() == True
assert "\r".isspace() == True
assert "".isspace() == False

s: str = " "
assert s.isspace() == True
Expand Down

0 comments on commit 3210c45

Please sign in to comment.