diff options
author | Ran Benita <ran@unusedvar.com> | 2020-09-23 14:28:10 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-09-27 13:17:59 +0300 |
commit | 32bb8f3a63ceaf19c925fc941d1fb872abd1b36a (patch) | |
tree | 160c245f5958cebaf4b37761deefd7f897252e8a /src/_pytest/compat.py | |
parent | 28ba9ab7371fe2b0582d7a5d6fb4bea6485850e2 (diff) | |
download | pytest-32bb8f3a63ceaf19c925fc941d1fb872abd1b36a.tar.gz |
Bump attrs requirement from >=17.4.0 to >=19.2.0
This allows us to remove the `ATTRS_EQ_FIELD` thing which is causing
some annoyance.
Diffstat (limited to 'src/_pytest/compat.py')
-rw-r--r-- | src/_pytest/compat.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/_pytest/compat.py b/src/_pytest/compat.py index 7eab2ea0c..33221aac2 100644 --- a/src/_pytest/compat.py +++ b/src/_pytest/compat.py @@ -371,12 +371,6 @@ else: return f -if getattr(attr, "__version_info__", ()) >= (19, 2): - ATTRS_EQ_FIELD = "eq" -else: - ATTRS_EQ_FIELD = "cmp" - - if sys.version_info >= (3, 8): from functools import cached_property as cached_property else: |