Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove whitespace in empty lines
  • Loading branch information
kannes authored and nyalldawson committed Feb 18, 2022
1 parent 24c8014 commit 202b2d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsexpression.py
Expand Up @@ -294,11 +294,11 @@ def testReferencedAttributeIndexesNonExistingField(self):
e.setExpression("foo = 1")
self.assertTrue(e.isValid())
self.assertEqual(len(e.referencedAttributeIndexes(QgsFields())), 0)

def testSuccessfulEvaluationReturnsNoEvalErrorString(self):
exp = QgsExpression("True is False") # the result does not matter
self.assertEqual(exp.evalErrorString(), "")

def testExceptionDuringEvalReturnsTraceback(self):
QgsExpression.registerFunction(self.raise_exception)
exp = QgsExpression('raise_exception()')
Expand Down

0 comments on commit 202b2d9

Please sign in to comment.