Skip to content

Commit 27cf69c

Browse files
fix failing assertion message
1 parent 0567bf2 commit 27cf69c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

2__python_self_study_1/just_enough_python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ assert 4 > 3, 'four is greater than 3'
156156
assert 4 == 3 # AssertionError
157157

158158
# a failing assertion with a description
159-
assert 4 == 3, 'four is greater than three' # AssertionError: four is greater than three
159+
assert 4 == 3, 'four is equal to three' # AssertionError: four is equal to three
160160
```
161161

162162
[TOP](#just-enough-python-cheat-sheet)

0 commit comments

Comments
 (0)