Skip to content

Commit 153c504

Browse files
author
Shehab Abdel-Salam
committed
Fix
1 parent ce95e48 commit 153c504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapters/chapter09_error_handling/tests/test_ch09.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ def test_e66():
3535

3636

3737
def test_e67():
38-
test_strings = ["123", "", "abc", "456", "789", ""]
38+
test_strings = ["123", "1", "abc", "456", "789", "0"]
3939

4040
with pytest.raises(ExceptionGroup) as exc_info:
4141
process_strings(test_strings)
4242

4343
exceptions = exc_info.value.exceptions
4444
assert len(exceptions) == 3
45-
45+
print(exceptions)
4646
value_error_raised = any(isinstance(e, ValueError) for e in exceptions)
4747
assert value_error_raised, "ValueError was not raised as expected"
4848

0 commit comments

Comments
 (0)