aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest/py3/patches/06-support-ya-markers.patch
diff options
context:
space:
mode:
authormonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
committermonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
commit06e5c21a835c0e923506c4ff27929f34e00761c2 (patch)
tree75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/python/pytest/py3/patches/06-support-ya-markers.patch
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
downloadydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz
fix ya.make
Diffstat (limited to 'contrib/python/pytest/py3/patches/06-support-ya-markers.patch')
-rw-r--r--contrib/python/pytest/py3/patches/06-support-ya-markers.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/contrib/python/pytest/py3/patches/06-support-ya-markers.patch b/contrib/python/pytest/py3/patches/06-support-ya-markers.patch
deleted file mode 100644
index c5ba0d7a90..0000000000
--- a/contrib/python/pytest/py3/patches/06-support-ya-markers.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- contrib/python/pytest/py3/_pytest/mark/structures.py (index)
-+++ contrib/python/pytest/py3/_pytest/mark/structures.py (working tree)
-@@ -501,7 +501,10 @@ class MarkGenerator(object):
- # example lines: "skipif(condition): skip the given test if..."
- # or "hypothesis: tests which use Hypothesis", so to get the
- # marker name we split on both `:` and `(`.
-- marker = line.split(":")[0].split("(")[0].strip()
-+ if line == "ya:external":
-+ marker = line
-+ else:
-+ marker = line.split(":")[0].split("(")[0].strip()
- self._markers.add(marker)
-
- # If the name is not in the set of known marks after updating,