Skip to content

Commit

Permalink
Update to lxml >= 4.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Nov 10, 2018
1 parent 311760d commit f080498
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 21 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ python:
install:
- pip install -U pip setuptools
- pip install -U coverage coveralls zope.testrunner
- pip install -r requirements.txt
- pip install -U -e .[test]
script:
- coverage run -m zope.testrunner --test-path=src
Expand Down
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def alltests():
'zope.pagetemplate >= 3.6.2',
],
test=[
'lxml >= 2.1.1, <4.2',
'lxml >= 4.2',
'persistent',
'z3c.template >= 1.3',
'zc.sourcefactory',
Expand Down Expand Up @@ -120,7 +120,7 @@ def alltests():
'zope.traversing',
],
tests_require=[
'lxml >= 2.1.1, <4.2',
'lxml >= 4.2',
'persistent',
'z3c.template >= 1.3',
'zc.sourcefactory',
Expand Down
3 changes: 1 addition & 2 deletions src/z3c/form/browser/multi_dict_integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,7 @@ Submit again with the empty field:
>>> content = getForm(request, 'MultiWidget_dict_edit_submit_choice2.html')
>>> print(testing.plainText(content,
... './/form/div[@id="row-form-widgets-dictOfChoice"]//div[@class="error"]'))
Required input is missing.
Required input is missing.
Duplicate key

Let's remove some items:

Expand Down
8 changes: 2 additions & 6 deletions src/z3c/form/browser/object_multi_dict_integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ Submit again with the empty field:
Required input is missing.
Required input is missing.
Required input is missing.
Required input is missing.

>>> print(testing.plainText(content,
... './/div[@id="form-widgets-dictOfObject-1-row"]//div[@class="error"]'))
Expand All @@ -206,8 +205,7 @@ Submit again with the empty field:
Required input is missing.
( ) yes ( ) no
Choice label *
Required input is missing.
[[ ]]
[one]
ChoiceOpt label
[No value]
TextLine label *
Expand Down Expand Up @@ -326,7 +324,6 @@ Submit again with the empty field:
Required input is missing.
Required input is missing.
Required input is missing.
Required input is missing.

>>> print(testing.plainText(content,
... './/div[@id="form-widgets-dictOfObject-1-row"]//div[@class="error"]'))
Expand Down Expand Up @@ -479,8 +476,7 @@ Fill in a valid value:
Required input is missing.
( ) yes ( ) no
Choice label *
Required input is missing.
[[ ]]
[one]
ChoiceOpt label
[No value]
TextLine label *
Expand Down
13 changes: 4 additions & 9 deletions src/z3c/form/browser/object_multi_list_integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@ Submit again with the empty field:
Required input is missing.
( ) yes ( ) no
Choice label *
Required input is missing.
[[ ]]
[one]
ChoiceOpt label
[No value]
TextLine label *
Expand Down Expand Up @@ -303,7 +302,6 @@ Submit again with the empty field:
Required input is missing.
Required input is missing.
Required input is missing.
Required input is missing.

Let's remove some items:

Expand Down Expand Up @@ -467,8 +465,7 @@ And fill in a valid value:
Required input is missing.
( ) yes ( ) no
Choice label *
Required input is missing.
[[ ]]
[one]
ChoiceOpt label
[No value]
TextLine label *
Expand All @@ -487,8 +484,7 @@ And fill in a valid value:
Required input is missing.
( ) yes ( ) no
Choice label *
Required input is missing.
[[ ]]
[one]
ChoiceOpt label
[No value]
TextLine label *
Expand Down Expand Up @@ -538,8 +534,7 @@ Let's remove some items:
Required input is missing.
( ) yes ( ) no
Choice label *
Required input is missing.
[[ ]]
[one]
ChoiceOpt label
[No value]
TextLine label *
Expand Down

0 comments on commit f080498

Please sign in to comment.