cu2qu_test: black fix
this was merged just before the black CI check was put in
This commit is contained in:
parent
c30a6355ff
commit
c192707bab
@ -439,12 +439,12 @@ pen.endPath()""".splitlines(),
|
||||
),
|
||||
)
|
||||
|
||||
class TestCu2QuMultiPen(unittest.TestCase):
|
||||
|
||||
class TestCu2QuMultiPen(unittest.TestCase):
|
||||
def test_multi_pen(self):
|
||||
|
||||
pens = [RecordingPen(), RecordingPen()]
|
||||
pen = Cu2QuMultiPen(pens, .1)
|
||||
pen = Cu2QuMultiPen(pens, 0.1)
|
||||
pen.moveTo([((0, 0),), ((0, 0),)])
|
||||
pen.lineTo([((0, 1),), ((0, 1),)])
|
||||
pen.qCurveTo([((0, 2),), ((0, 2),)])
|
||||
@ -457,7 +457,7 @@ class TestCu2QuMultiPen(unittest.TestCase):
|
||||
|
||||
for op0, op1 in zip(pens[0].value, pens[1].value):
|
||||
assert op0[0] == op0[0]
|
||||
assert op0[0] != 'curveTo'
|
||||
assert op0[0] != "curveTo"
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
x
Reference in New Issue
Block a user