Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 24, 2024
1 parent a7fccc2 commit bec640b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/src/python/test_qgstextrenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3411,7 +3411,7 @@ def testDrawTabPercent(self):
format.setTabStopDistanceUnit(Qgis.RenderUnit.Percentage)
self.assertTrue(self.checkRender(format,
'text_tab_percentage',
text=['with\ttabs',' a\tb']))
text=['with\ttabs', ' a\tb']))

def testDrawTabFixedSize(self):
format = QgsTextFormat()
Expand All @@ -3422,7 +3422,7 @@ def testDrawTabFixedSize(self):
format.setTabStopDistanceUnit(Qgis.RenderUnit.Millimeters)
self.assertTrue(self.checkRender(format,
'text_tab_fixed_size',
text=['with\ttabs',' a\tb']))
text=['with\ttabs', ' a\tb']))

def testHtmlFormatting(self):
format = QgsTextFormat()
Expand All @@ -3445,7 +3445,7 @@ def testHtmlTabPercent(self):
format.setAllowHtmlFormatting(True)
self.assertTrue(self.checkRender(format,
'text_tab_percentage_html',
text=['<span style="font-size: 15pt">with</span>\ttabs',' a\tb']))
text=['<span style="font-size: 15pt">with</span>\ttabs', ' a\tb']))

def testHtmlTabFixedSize(self):
format = QgsTextFormat()
Expand All @@ -3457,7 +3457,7 @@ def testHtmlTabFixedSize(self):
format.setAllowHtmlFormatting(True)
self.assertTrue(self.checkRender(format,
'text_tab_fixed_size_html',
text=['<span style="font-size: 15pt">with</span>\ttabs',' a\tb']))
text=['<span style="font-size: 15pt">with</span>\ttabs', ' a\tb']))

def testHtmlFormattingBuffer(self):
"""
Expand Down

0 comments on commit bec640b

Please sign in to comment.