Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and nyalldawson committed Jan 28, 2025
1 parent 1c85f6a commit 14b2d05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/src/python/test_qgsvectorlayereditbuffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,9 +860,7 @@ def _check_feature(wkt):
_test(Qgis.TransactionMode.BufferedGroups)

def testAddNewFeatureAndNewAttribute(self):
layer = QgsVectorLayer(
"Point?field=fldtxt:string", "addfeat", "memory"
)
layer = QgsVectorLayer("Point?field=fldtxt:string", "addfeat", "memory")
layer.startEditing()

# Add a new feature with fields information attached to it
Expand Down

0 comments on commit 14b2d05

Please sign in to comment.