Skip to content

Commit f217dcb

Browse files
committed
Help the coverage go to 100%
1 parent 7608c3f commit f217dcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ultimatepython/advanced/pattern_matching.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ def main() -> None:
210210
assert process_point((0, 5)) == "Y-axis at y=5"
211211
assert process_point((3, 0)) == "X-axis at x=3"
212212
assert process_point((4, 7)) == "Point at (4, 7)"
213+
assert process_point("invalid") == "Not a valid 2D point"
213214

214215
# Test sequence pattern matching with lists
215216
assert analyze_sequence([]) == "Empty list"

0 commit comments

Comments
 (0)