Skip to content
Permalink
Browse files

Merge pull request #40152 from rouault/fix_test_qgssubsetstringeditor…

…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 a4b91a0c4072fa7ef4eef8260a2e1752a6a39840
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/src/python/test_qgssubsetstringeditorproviderregistry.py
@@ -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()

0 comments on commit a4b91a0

Please sign in to comment.
You can’t perform that action at this time.