There was an error while loading. Please reload this page.
1 parent cff05d9 commit f19b57cCopy full SHA for f19b57c
2 files changed
lib/matplotlib/tests/test_backend_qt.py
@@ -128,7 +128,7 @@ def test_sigint(target, kwargs):
128
try:
129
proc.wait_for('DRAW')
130
stdout, _ = proc.communicate(timeout=_test_timeout)
131
- except: # noqa: E722
+ except Exception:
132
proc.kill()
133
stdout, _ = proc.communicate()
134
raise
@@ -182,7 +182,7 @@ def test_other_signal_before_sigint(target, kwargs):
182
proc.wait_for('SIGUSR1')
183
os.kill(proc.pid, signal.SIGINT)
184
185
186
187
188
lib/matplotlib/tests/test_font_manager.py
@@ -317,7 +317,7 @@ def test_get_font_names():
317
font = ft2font.FT2Font(path)
318
prop = ttfFontProperty(font)
319
ttf_fonts.append(prop.name)
320
321
pass
322
available_fonts = sorted(list(set(ttf_fonts)))
323
mpl_font_names = sorted(fontManager.get_font_names())
0 commit comments