aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-cssselect2/tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py3-cssselect2/tests.patch')
-rw-r--r--testing/py3-cssselect2/tests.patch51
1 files changed, 30 insertions, 21 deletions
diff --git a/testing/py3-cssselect2/tests.patch b/testing/py3-cssselect2/tests.patch
index cea4ca7c10..1f16fd14c1 100644
--- a/testing/py3-cssselect2/tests.patch
+++ b/testing/py3-cssselect2/tests.patch
@@ -1,24 +1,33 @@
---- cssselect2-0.2.1-orig/setup.cfg
-+++ cssselect2-0.2.1/setup.cfg
-@@ -5,7 +5,7 @@
- universal = 1
+diff --git a/setup.cfg b/setup.cfg
+index f7abbc2..acbe7b3 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -42,9 +42,6 @@ install_requires =
+ webencodings
+ tests_require =
+ pytest-runner
+- pytest-cov
+- pytest-flake8
+- pytest-isort
+ python_requires = >= 3.5
+
+ [options.package_data]
+@@ -57,9 +54,6 @@ doc =
+ sphinx_rtd_theme
+ test =
+ pytest-runner
+- pytest-cov
+- pytest-flake8
+- pytest-isort
+
+ [bdist_wheel]
+ python-tag = py3
+@@ -72,7 +66,7 @@ build-dir = docs/_build
+ test = pytest
[tool:pytest]
--addopts = --cov=cssselect2 --flake8 --isort cssselect2
-+addopts = --cov=cssselect2 cssselect2
- norecursedirs = dist .cache .git build *.egg-info .eggs venv
+-addopts = --flake8 --isort cssselect2
++addopts = cssselect2
+ norecursedirs = build dist .cache .eggs .git
- [egg_info]
---- cssselect2-0.2.1-orig/setup.py
-+++ cssselect2-0.2.1/setup.py
-@@ -29,8 +29,6 @@
- install_requires=['tinycss2'],
- setup_requires=pytest_runner,
- test_suite='cssselect2.tests',
-- tests_require=[
-- 'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort'],
-- extras_require={'test': [
-- 'pytest-runner', 'pytest-cov', 'pytest-flake8', 'pytest-isort']},
-+ tests_require=['pytest-runner', 'pytest-cov'],
-+ extras_require={'test': ['pytest-runner', 'pytest-cov']},
- )
+ [coverage:run]