Skip to content

Commit 309e5bb

Browse files
committed
Mention atol parameter in README
1 parent 4395333 commit 309e5bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ The supported formats at this time are ``text`` and ``fits``, and
111111
contributions for other formats are welcome. The default format is
112112
``text``.
113113

114-
Another argument is the relative tolerance for floating point values
115-
(which defaults to 1e-7):
114+
Additional arguments are the relative and absolute tolerances for floating
115+
point values (which default to 1e-7 and 0, respectively):
116116

117117
.. code:: python
118118
119-
@pytest.mark.array_compare(rtol=20)
119+
@pytest.mark.array_compare(rtol=20, atol=0.1)
120120
def test_array():
121121
...
122122

0 commit comments

Comments
 (0)