summaryrefslogtreecommitdiff
path: root/src/_pytest/compat.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2020-10-05 18:13:05 -0700
committerAnthony Sottile <asottile@umich.edu>2020-10-05 18:33:17 -0700
commit33d119f71a60d1b41686c04a52c3a570fdcd506c (patch)
tree860431d60652d573998855f45b1ca868700032b1 /src/_pytest/compat.py
parent703e89134c2b0c21225014e3a89c17ab062c0ab9 (diff)
downloadpytest-33d119f71a60d1b41686c04a52c3a570fdcd506c.tar.gz
py36+: com2ann
Diffstat (limited to 'src/_pytest/compat.py')
-rw-r--r--src/_pytest/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/compat.py b/src/_pytest/compat.py
index 69ff2e007..f704a990e 100644
--- a/src/_pytest/compat.py
+++ b/src/_pytest/compat.py
@@ -36,7 +36,7 @@ _S = TypeVar("_S")
# https://www.python.org/dev/peps/pep-0484/#support-for-singleton-types-in-unions
class NotSetType(enum.Enum):
token = 0
-NOTSET = NotSetType.token # type: Final # noqa: E305
+NOTSET: "Final" = NotSetType.token # noqa: E305
# fmt: on
if sys.version_info >= (3, 8):