Skip to content

Commit

Permalink
Merge pull request #40152 from rouault/fix_test_qgssubsetstringeditor…
Browse files Browse the repository at this point in the history
…providerregisty_random_failure

test_qgssubsetstringeditorproviderregistry.py: disable test that causes memory corruption
  • Loading branch information
rouault committed Nov 18, 2020
2 parents 2899ae1 + 397f972 commit a4b91a0
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -91,7 +91,9 @@ def testProviderKey(self):
self.assertIsNone(registry.providerByName('i_do_not_exist'))
self.assertEqual(registry.providerByName('WFS').providerKey(), 'WFS')

def testCreateDialogWithDefaultImplementation(self):
# Test disabled since there's a memory corruption issue with QgsQueryBuilder()
# creation in non-GUI mode.
def DISABLED_testCreateDialogWithDefaultImplementation(self):
""" Tests that createDialog() returns the default implementation when no provider kicks in """

registry = QgsGui.subsetStringEditorProviderRegistry()
Expand Down

0 comments on commit a4b91a0

Please sign in to comment.