Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
extensions
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
N J
extensions
Commits
d0666a5f
Commit
d0666a5f
authored
4 months ago
by
Martin Owens
Committed by
Jonathan Neuhauser
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix lxml testing bug
parent
55c7accd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_inkex_elements_base.py
+6
-0
6 additions, 0 deletions
tests/test_inkex_elements_base.py
with
6 additions
and
0 deletions
tests/test_inkex_elements_base.py
+
6
−
0
View file @
d0666a5f
...
...
@@ -5,7 +5,10 @@ Test the element API base classes and basic functionality
"""
import
random
import
lxml
import
pytest
from
lxml
import
etree
from
packaging.version
import
Version
from
inkex.elements
import
(
load_svg
,
...
...
@@ -365,6 +368,9 @@ class RelationshipTestCase(SvgTestCase):
self
.
assertNotEqual
(
elem
.
get
(
"
id
"
),
dup
.
get
(
"
id
"
))
self
.
assertEqual
(
elem
.
getparent
(),
dup
.
getparent
())
@pytest.mark.skipif
(
Version
(
lxml
.
__version__
)
<
Version
(
"
5.0.0
"
),
reason
=
"
lxml upstream bug
"
)
def
test_duplicate_text
(
self
):
"""
Test duplicating text elements, see
https://gitlab.com/inkscape/extensions/-/issues/480
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment