Fix string concatenation and indenting for INVALID.
This commit is contained in:
parent
fd88311d9b
commit
fe696aeba5
@ -1146,9 +1146,14 @@ class TestFont:
|
|||||||
'bold italic 10pt "Foobar Neue"':
|
'bold italic 10pt "Foobar Neue"':
|
||||||
FontDesc(QFont.StyleItalic, QFont.Bold, 10, None, 'Foobar Neue'),
|
FontDesc(QFont.StyleItalic, QFont.Bold, 10, None, 'Foobar Neue'),
|
||||||
}
|
}
|
||||||
INVALID = ['green "Foobar Neue"', 'italic green "Foobar Neue"',
|
|
||||||
'bold bold "Foobar Neue"', 'bold italic "Foobar Neue"'
|
INVALID = [
|
||||||
'bold', '10pt 20px "Foobar Neue"']
|
'green "Foobar Neue"',
|
||||||
|
'italic green "Foobar Neue"',
|
||||||
|
'bold bold "Foobar Neue"',
|
||||||
|
'bold italic "Foobar Neue"',
|
||||||
|
'10pt 20px "Foobar Neue"'
|
||||||
|
]
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
@pytest.fixture(autouse=True)
|
||||||
def setup(self):
|
def setup(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user