FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix regex in tests. · python/cpython@80f35e1 · GitHub

Repository navigation

Commit 80f35e1

Browse files
Fix regex in tests.
1 parent 2faae25 commit 80f35e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/test/test_ttk/test_widgets.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ def test_identify_element(self):
16641664
# The Treeitem.indicator element is packed at the left of the row in
16651665
# the Item layout on every platform and theme.
16661666
element = self.tv.identify_element(x + 8, y + h // 2)
1667-
self.assertRegex(element, r'.*indicator\z')
1667+
self.assertRegex(element, r'.*indicator\Z')
16681668
# The empty string is returned outside the widget.
16691669
self.assertEqual(self.tv.identify_element(-1, -1), '')
16701670
self.assertRaises(tkinter.TclError, self.tv.identify_element, None, 5)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL