diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2017-07-30 17:48:33 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-30 17:48:33 -0300 |
commit | 763c580a2a578eeefe72f72206b09b6d01b69350 (patch) | |
tree | 1decb7492efff48611318a6e22a80f9b62e62312 /changelog | |
parent | e1aed8cb17871e634a30c21920f15a838b56bf6b (diff) | |
parent | 80f4699572c0ccd304f30a9451d1728066b0db27 (diff) | |
download | pytest-763c580a2a578eeefe72f72206b09b6d01b69350.tar.gz |
Merge pull request #2576 from maiksensi/feat/raise-not-implemented-for-lt-gt-in-approx
#2003 Change behavior of `approx.py` to only support `__eq__` comparison
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog/2003.removal | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelog/2003.removal b/changelog/2003.removal new file mode 100644 index 000000000..d3269bf4e --- /dev/null +++ b/changelog/2003.removal @@ -0,0 +1,2 @@ +``pytest.approx`` no longer supports ``>``, ``>=``, ``<`` and ``<=`` operators to avoid surprising/inconsistent +behavior. See `the docs <https://docs.pytest.org/en/latest/builtin.html#pytest.approx>`_ for more information. |