ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / python / pyparsing / patches / 01-test-no-matplotlib.patch
blob65dee1f7539082645418e60f05f9d1041df53765
1 We have no matplotlib packaged yet.
3 --- pyparsing-3.2.0/tox.ini.orig
4 +++ pyparsing-3.2.0/tox.ini
5 @@ -7,7 +7,6 @@
6 [testenv]
7 deps=
8 pytest
9 - matplotlib; implementation_name != 'pypy'
10 extras=diagrams
11 commands=
12 pytest tests {posargs}
13 --- pyparsing-3.2.0/tests/test_matplotlib_cases.py.orig
14 +++ pyparsing-3.2.0/tests/test_matplotlib_cases.py
15 @@ -6,10 +6,7 @@
17 import pytest
19 -if platform.python_implementation() == "PyPy":
20 - mpl_mathtext = None
21 -else:
22 - import matplotlib.mathtext as mpl_mathtext
23 +mpl_mathtext = None
25 # fmt: off
26 @pytest.mark.parametrize(