Skip to content

Commit a942556

Browse files
Add empty string for capitalize to tests
1 parent 8a5f6f9 commit a942556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration_tests/test_str_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def capitalize():
77
s = " tom and jerry"
88
assert s.capitalize() == s
99
assert "empty string" .capitalize() == "Empty string"
10-
10+
assert "".capitalize() == ""
1111

1212
def lower():
1313
s: str

0 commit comments

Comments
 (0)