Skip to content

Commit bdf0672

Browse files
committed
Fix __str__ method test on Windows.
1 parent a5a6253 commit bdf0672

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_str.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ def test_str(self):
1010
filepath = "/Roboto_Mono/static/RobotoMono-Regular.ttf"
1111
font = self._get_font(filepath)
1212
s = str(font)
13-
expected = f"Font('{font.filepath}')"
13+
expected = f"Font('{font._filepath}')"
1414
self.assertEqual(s, expected)

0 commit comments

Comments
 (0)