We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
atol
1 parent 4395333 commit 309e5bbCopy full SHA for 309e5bb
README.rst
@@ -111,12 +111,12 @@ The supported formats at this time are ``text`` and ``fits``, and
111
contributions for other formats are welcome. The default format is
112
``text``.
113
114
-Another argument is the relative tolerance for floating point values
115
-(which defaults to 1e-7):
+Additional arguments are the relative and absolute tolerances for floating
+point values (which default to 1e-7 and 0, respectively):
116
117
.. code:: python
118
119
- @pytest.mark.array_compare(rtol=20)
+ @pytest.mark.array_compare(rtol=20, atol=0.1)
120
def test_array():
121
...
122
0 commit comments