summaryrefslogtreecommitdiff
path: root/changelog
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2017-07-25 19:15:21 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2017-07-25 20:07:10 -0300
commit80f4699572c0ccd304f30a9451d1728066b0db27 (patch)
tree8ff5704434e23cf310b4a1a902d78b043cff186f /changelog
parent57a232fc5a275f7a0ae813713afba436c658262a (diff)
downloadpytest-80f4699572c0ccd304f30a9451d1728066b0db27.tar.gz
approx raises TypeError in Python 2 for comparison operators other than != and ==
Diffstat (limited to 'changelog')
-rw-r--r--changelog/2003.feature1
-rw-r--r--changelog/2003.removal2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog/2003.feature b/changelog/2003.feature
deleted file mode 100644
index b4bf12431..000000000
--- a/changelog/2003.feature
+++ /dev/null
@@ -1 +0,0 @@
-Remove support for `<` and `>` support in approx.
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.