Skip to content

Commit

Permalink
Clean up bad line in doctest and leave a comment about what we would …
Browse files Browse the repository at this point in the history
…like to be a failing test but isn't
  • Loading branch information
jamadden committed Dec 18, 2017
1 parent 360623e commit 07ef063
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/zope/i18n/locales/xmlfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -1282,8 +1282,6 @@ def _extractDelimiters(self):
... <territory type="US" />
... <variant type="POSIX" />
... </identity>
... </ldml>'''
... </ldml>'''
>>> dom = parseString(xml)
>>> factory._data = parseString(xml).documentElement
Expand Down
1 change: 1 addition & 0 deletions src/zope/i18n/tests/test_formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def testParseDateTimePatternError(self):
parseDateTimePattern("HH' Uhr")

# Test correct length of characters in datetime fields
# XXX: This should actually fail, but it doesn't. Why not?
parseDateTimePattern("HHHHH")

def testParseDateTimePatternRepeatDateTimeChars(self):
Expand Down

0 comments on commit 07ef063

Please sign in to comment.