Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 254e3df commit a8674b3Copy full SHA for a8674b3
1 file changed
lib/matplotlib/tests/test_dviread.py
@@ -52,7 +52,7 @@ def test_PsfontsMap(monkeypatch):
52
# Missing font
53
with pytest.raises(KeyError) as exc:
54
fontmap[b'no-such-font']
55
- assert b'no-such-font' in bytes(exc.value)
+ assert 'no-such-font' in str(exc.value)
56
57
58
@skip_if_command_unavailable(["kpsewhich", "-version"])
0 commit comments