aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtGui/qfontmetrics_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-11-28 10:56:58 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-11-28 11:43:03 +0100
commitea5ce2e4080a99c43b9a330e34588fb1f25c7e45 (patch)
tree603f71391656bfde3690fe18b916cd4bf0ef2ad1 /sources/pyside6/tests/QtGui/qfontmetrics_test.py
parent3ad6f139ddd792b24e8c15c847f3e5db3eac3bf3 (diff)
Tests: Fix some flake warnings
Mostly spacing related. Pick-to: 6.6 Change-Id: I748a8a06f456c5d4bafb94c397c43b3b2ee9e3e9 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtGui/qfontmetrics_test.py')
-rw-r--r--sources/pyside6/tests/QtGui/qfontmetrics_test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/pyside6/tests/QtGui/qfontmetrics_test.py b/sources/pyside6/tests/QtGui/qfontmetrics_test.py
index 52ce810d3..98c4c8f96 100644
--- a/sources/pyside6/tests/QtGui/qfontmetrics_test.py
+++ b/sources/pyside6/tests/QtGui/qfontmetrics_test.py
@@ -91,8 +91,8 @@ class BoundingRectTest(QFontMetricsTest):
'''QFontMetrics.boundingRect(QRect, ...) - type error'''
arg = QRect(0, 0, 100, 200)
self.assertRaises(TypeError, self.metrics.boundingRect, arg,
- Qt.TextExpandTabs | Qt.AlignLeft,
- 'PySide by INdT', 20, ['aaaa', 'ase'])
+ Qt.TextExpandTabs | Qt.AlignLeft,
+ 'PySide by INdT', 20, ['aaaa', 'ase'])
class SizeTest(QFontMetricsTest):
@@ -196,8 +196,8 @@ class FSizeTest(QFontMetricsFTest):
def testTypeError(self):
'''QFontMetricsF.size - type error'''
self.assertRaises(TypeError, self.metrics.size,
- Qt.TextExpandTabs | Qt.AlignLeft,
- 'PySide by INdT', 20, ['aaaa', 'ase'])
+ Qt.TextExpandTabs | Qt.AlignLeft,
+ 'PySide by INdT', 20, ['aaaa', 'ase'])
class QCharTest(QFontMetricsFTest):