Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 24, 2024
1 parent f128fa4 commit a6a32bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 Down

0 comments on commit a6a32bd

Please sign in to comment.