summaryrefslogtreecommitdiff
path: root/dev-python/mypy/files/mypy-0.782-conftest.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-17 23:35:33 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-17 23:35:33 +0000
commit8e8120eabdd28020aa69c7a60505cce2edd20adc (patch)
tree061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /dev-python/mypy/files/mypy-0.782-conftest.patch
parentc16790af2c9b4cbc38e565d4311252193ff85484 (diff)
downloadbaldeagleos-repo-21.1.2.tar.gz
baldeagleos-repo-21.1.2.tar.xz
baldeagleos-repo-21.1.2.zip
Updating liguros repo21.1.2
Diffstat (limited to 'dev-python/mypy/files/mypy-0.782-conftest.patch')
-rw-r--r--dev-python/mypy/files/mypy-0.782-conftest.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/dev-python/mypy/files/mypy-0.782-conftest.patch b/dev-python/mypy/files/mypy-0.782-conftest.patch
deleted file mode 100644
index 08da1b1b690a..000000000000
--- a/dev-python/mypy/files/mypy-0.782-conftest.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/conftest.py b/conftest.py
-new file mode 100644
-index 00000000..83a6689f
---- /dev/null
-+++ b/conftest.py
-@@ -0,0 +1,18 @@
-+import os.path
-+
-+pytest_plugins = [
-+ 'mypy.test.data',
-+]
-+
-+
-+def pytest_configure(config):
-+ mypy_source_root = os.path.dirname(os.path.abspath(__file__))
-+ if os.getcwd() != mypy_source_root:
-+ os.chdir(mypy_source_root)
-+
-+
-+# This function name is special to pytest. See
-+# http://doc.pytest.org/en/latest/writing_plugins.html#initialization-command-line-and-configuration-hooks
-+def pytest_addoption(parser) -> None:
-+ parser.addoption('--bench', action='store_true', default=False,
-+ help='Enable the benchmark test runs')