Skip to content

Commit

Permalink
Correct test string
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 5, 2021
1 parent f69ff27 commit d208d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsvectorlayer.py
Expand Up @@ -489,7 +489,7 @@ def test_layer_crs(self):
self.assertFalse(vl.crs().isValid())

# even if provider has a crs - we don't respect it for non-spatial layers!
vl = QgsVectorLayer('None?crs=epsg:3111field=pk:integer', 'test', 'memory')
vl = QgsVectorLayer('None?crs=epsg:3111&field=pk:integer', 'test', 'memory')
self.assertFalse(vl.isSpatial())
self.assertFalse(vl.crs().isValid())

Expand Down

0 comments on commit d208d17

Please sign in to comment.