don't install lmxl when running '-nolxml' tests

in .travis/run.sh we call tox -e py-nolxml with the XML-related tests
to verify that they work despite lxml not being installed (using ElementTree
backend).
If we install lxml in requirements.txt unconditionally, then we are not
testing the absence of lxml...
This commit is contained in:
Cosimo Lupo 2020-04-02 19:51:13 +01:00
parent 111a1c199a
commit 9690282f21
No known key found for this signature in database
GPG Key ID: 179A8F0895A02F4F
2 changed files with 1 additions and 1 deletions

View File

@ -7,4 +7,3 @@ scipy==1.4.1; platform_python_implementation != "PyPy"
munkres==1.1.2; platform_python_implementation == "PyPy"
zopfli==0.1.6
fs==2.4.11
lxml==4.5.0

View File

@ -10,6 +10,7 @@ deps =
pytest
pytest-randomly
-rrequirements.txt
!nolxml: lxml==4.5.0
extras =
ufo
woff