This commit is contained in:
Daniel Hahler
2019-04-08 12:42:30 +02:00
parent 1d137fd2fe
commit bd1a2e6435

View File

@@ -298,7 +298,7 @@ class MarkGenerator(object):
for line in self._config.getini("markers"):
# example lines: "skipif(condition): skip the given test if..."
# or "hypothesis: tests which use Hypothesis", so to get the
# marker name we we split on both `:` and `(`.
# marker name we split on both `:` and `(`.
marker = line.split(":")[0].split("(")[0].strip()
self._markers.add(marker)