From 0797059a387262fc30ab8d70c0aaca6cac96efb7 Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Sat, 2 Feb 2019 17:25:36 +0100 Subject: [PATCH] Spellok --- tests/src/python/test_provider_ogr_gpkg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/python/test_provider_ogr_gpkg.py b/tests/src/python/test_provider_ogr_gpkg.py index 977640e0005..a82bb0cc3bc 100644 --- a/tests/src/python/test_provider_ogr_gpkg.py +++ b/tests/src/python/test_provider_ogr_gpkg.py @@ -1296,8 +1296,8 @@ class TestPyQgsOGRProviderGpkg(unittest.TestCase): def test_quote_identifier(self): """Regression #21100""" - tmpfile = os.path.join(self.basetestpath, 'bug21100-wierd_field_names.gpkg') - shutil.copy(os.path.join(unitTestDataPath(''), 'bug21100-wierd_field_names.gpkg'), tmpfile) + tmpfile = os.path.join(self.basetestpath, 'bug21100-wierd_field_names.gpkg') # spellok + shutil.copy(os.path.join(unitTestDataPath(''), 'bug21100-wierd_field_names.gpkg'), tmpfile) # spellok vl = QgsVectorLayer('{}|layerid=0'.format(tmpfile), 'foo', 'ogr') self.assertTrue(vl.isValid()) for i in range(1, len(vl.fields())):