summaryrefslogtreecommitdiff
path: root/src/_pytest/nodes.py
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2020-05-01 14:40:16 +0300
committerRan Benita <ran@unusedvar.com>2020-06-05 11:34:20 +0300
commit216a010ab70ca88f8d68f051c2b732fc90380e70 (patch)
treeb23b2150b8ac1c7a830442a5b6193738eed4f81b /src/_pytest/nodes.py
parent3e351afeb3443bb6c4940d80d8517693df71b397 (diff)
downloadpytest-216a010ab70ca88f8d68f051c2b732fc90380e70.tar.gz
Type annotate _pytest.junitxml
Diffstat (limited to 'src/_pytest/nodes.py')
-rw-r--r--src/_pytest/nodes.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/_pytest/nodes.py b/src/_pytest/nodes.py
index 4fdf1df74..eaa48e5de 100644
--- a/src/_pytest/nodes.py
+++ b/src/_pytest/nodes.py
@@ -1,7 +1,6 @@
import os
import warnings
from functools import lru_cache
-from typing import Any
from typing import Callable
from typing import Dict
from typing import Iterable
@@ -618,7 +617,7 @@ class Item(Node):
#: user properties is a list of tuples (name, value) that holds user
#: defined properties for this test.
- self.user_properties = [] # type: List[Tuple[str, Any]]
+ self.user_properties = [] # type: List[Tuple[str, object]]
def runtest(self) -> None:
raise NotImplementedError("runtest must be implemented by Item subclass")