Skip to content

Commit

Permalink
fix python comments
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
troopa81 and elpaso committed Sep 23, 2020
1 parent 01d2431 commit 86add3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/src/python/test_provider_virtual.py
Original file line number Diff line number Diff line change
Expand Up @@ -1272,9 +1272,8 @@ def test_subset_string(self):
self.assertEqual(gpkg_virtual_layer.subsetString(), '"join_value" = \'twenty\'')

def test_feature_count_on_error(self):

# Test that triggered exception while getting feature count on a badly defined
# virtual layer is correctly caught (see https://github.com/qgis/QGIS/issues/34378)
"""Test that triggered exception while getting feature count on a badly defined
virtual layer is correctly caught (see https://github.com/qgis/QGIS/issues/34378)"""

l1 = QgsVectorLayer(os.path.join(self.testDataDir, "france_parts.shp"), "france", "ogr",
QgsVectorLayer.LayerOptions(False))
Expand Down

0 comments on commit 86add3a

Please sign in to comment.