Skip to content

Commit 0c5b78d

Browse files
Try to fix line length in doctest
1 parent 1c0debe commit 0c5b78d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maths/trapezoidal_rule.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def make_points(a, b, h):
4343
:yield: The next x-value in the range (a, b)
4444
4545
>>> list(make_points(0, 1, 0.1)) # doctest: +NORMALIZE_WHITESPACE
46-
[0.1, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6, 0.7, 0.7999999999999999, 0.8999999999999999]
46+
[0.1, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6, 0.7, 0.7999999999999999, \
47+
0.8999999999999999]
4748
>>> list(make_points(0, 10, 2.5))
4849
[2.5, 5.0, 7.5]
4950
>>> list(make_points(0, 10, 2))

0 commit comments

Comments
 (0)