Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 152df1d

Browse filesBrowse files
authored
Merge pull request #24055 from meeseeksmachine/auto-backport-of-pr-24046-on-v3.6.x
Backport PR #24046 on branch v3.6.x (Ignore 'CFMessagePort: bootstrap_register' messages)
2 parents f464af5 + c95a0a5 commit 152df1d
Copy full SHA for 152df1d

File tree

Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed

‎lib/matplotlib/tests/test_backend_tk.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backend_tk.py
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,14 @@ def test_func():
5353
+ str(e.stderr))
5454
else:
5555
# macOS may actually emit irrelevant errors about Accelerated
56-
# OpenGL vs. software OpenGL, so suppress them.
56+
# OpenGL vs. software OpenGL, or some permission error on Azure, so
57+
# suppress them.
5758
# Asserting stderr first (and printing it on failure) should be
5859
# more helpful for debugging that printing a failed success count.
60+
ignored_lines = ["OpenGL", "CFMessagePort: bootstrap_register",
61+
"/usr/include/servers/bootstrap_defs.h"]
5962
assert not [line for line in proc.stderr.splitlines()
60-
if "OpenGL" not in line]
63+
if all(msg not in line for msg in ignored_lines)]
6164
assert proc.stdout.count("success") == success_count
6265

6366
return test_func

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.