Skip to content

Commit f5d923e

Browse files
committed
Ignore 'CFMessagePort: bootstrap_register' messages
This should fix macOS errors on Azure.
1 parent a283d20 commit f5d923e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_backend_tk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def test_func():
5757
# Asserting stderr first (and printing it on failure) should be
5858
# more helpful for debugging that printing a failed success count.
5959
assert not [line for line in proc.stderr.splitlines()
60-
if "OpenGL" not in line]
60+
if "OpenGL" not in line
61+
and "CFMessagePort: bootstrap_register" not in line]
6162
assert proc.stdout.count("success") == success_count
6263

6364
return test_func

0 commit comments

Comments
 (0)