Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5f91cfd

Browse files
committed
fix x/y simpleerr
1 parent fb0304f commit 5f91cfd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/simpleerr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def div0():
55
"foo"
66
x = 1
77
y = 0
8-
x/y
8+
x / y
99

1010
def sysexit(stat, mode):
1111
raise SystemExit(stat, f"Mode = {mode}")

tests/test_iplib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def doctest_tb_plain():
4646
File ...:... in bar
4747
div0()
4848
File ...:... in div0
49-
x/y
49+
x / y
5050
ZeroDivisionError: ...
5151
"""
5252

@@ -75,7 +75,7 @@ def doctest_tb_context():
7575
... in div0()
7676
6 x = 1
7777
7 y = 0
78-
----> 8 x/y
78+
----> 8 x / y
7979
<BLANKLINE>
8080
ZeroDivisionError: ..."""
8181

@@ -105,7 +105,7 @@ def doctest_tb_verbose():
105105
... in div0()
106106
6 x = 1
107107
7 y = 0
108-
----> 8 x/y
108+
----> 8 x / y
109109
x = 1
110110
y = 0
111111
<BLANKLINE>

0 commit comments

Comments
 (0)