From 14b2d05cb1daadbdbb65d1da574e8b0a5859d80c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 08:56:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/src/python/test_qgsvectorlayereditbuffer.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/src/python/test_qgsvectorlayereditbuffer.py b/tests/src/python/test_qgsvectorlayereditbuffer.py index 07ad7377edd0..5a76c7d8090d 100644 --- a/tests/src/python/test_qgsvectorlayereditbuffer.py +++ b/tests/src/python/test_qgsvectorlayereditbuffer.py @@ -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