[3.10] bpo-43988: Add test.support.check_disallow_instantiation() (GH-25757) by erlend-aasland · Pull Request #26885 · python/cpython (original) (raw)

test_ttk_guionly failed on Ubuntu in Azure Pipelines.

2021-06-23T22:15:57.5133290Z ======================================================================
2021-06-23T22:15:57.5133791Z FAIL: test_configure_to (tkinter.test.test_ttk.test_widgets.SpinboxTest)
2021-06-23T22:15:57.5134904Z ----------------------------------------------------------------------
2021-06-23T22:15:57.5135381Z Traceback (most recent call last):
2021-06-23T22:15:57.5135890Z   File "/home/vsts/work/1/s/Lib/tkinter/test/test_ttk/test_widgets.py", line 1175, in test_configure_to
2021-06-23T22:15:57.5136405Z     self._click_increment_arrow()  # 5
2021-06-23T22:15:57.5136909Z   File "/home/vsts/work/1/s/Lib/tkinter/test/test_ttk/test_widgets.py", line 1135, in _click_increment_arrow
2021-06-23T22:15:57.5137627Z     self.assertRegex(self.spin.identify(x, y), r'.*uparrow\Z')
2021-06-23T22:15:57.5138321Z AssertionError: Regex didn't match: '.*uparrow\\Z' not found in ''