Skip to content

Commit

Permalink
Fix test for fn:default-collation() on Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
brunato committed Aug 13, 2020
1 parent 1f9e97b commit 7132e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_xpath2_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1085,8 +1085,8 @@ def test_adjust_time_to_timezone_function(self):
Time.fromstring('03:00:00+10:00'), context)

def test_default_collation_function(self):
self.check_value('fn:default-collation()',
'http://www.w3.org/2005/xpath-functions/collation/codepoint')
default_collation = self.parser.default_collation
self.check_value('fn:default-collation()', default_collation)

def test_context_functions(self):
context = XPathContext(root=self.etree.XML('<A/>'))
Expand Down

0 comments on commit 7132e88

Please sign in to comment.