GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix regex in tests. · python/cpython@80f35e1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Lib/test/test_ttk
    • test_widgets.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Lib/test/test_ttk/test_widgets.py‎

Copy file name to clipboardExpand all lines: Lib/test/test_ttk/test_widgets.py
+1-1Lines 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 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.