Skip to content

Commit

Permalink
Fix CI tests with Python 3.10.11
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Feb 3, 2024
1 parent b35e411 commit bb60411
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion elementpath/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def split_function_test(function_test: str) -> List[str]:

def is_absolute_uri(uri: str) -> bool:
try:
parts = urlsplit(uri)
parts = urlsplit(uri.strip())
except ValueError:
return False
else:
Expand Down
1 change: 0 additions & 1 deletion tests/test_xpath1_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,6 @@ def test_get_function(self):
self.assertEqual(func('foo', 1, ' bar', 2), 'foo1 bar2')



@unittest.skipIf(lxml_etree is None, "The lxml library is not installed")
class LxmlXPath1ParserTest(XPath1ParserTest):
etree = lxml_etree
Expand Down

0 comments on commit bb60411

Please sign in to comment.