From 515f625958c5babf6af0efa25afc45f93596cdc3 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 12 Oct 2023 12:48:27 +0200 Subject: [PATCH] Show more detail on testExtentSubsetString null extent test failure --- tests/src/python/providertestbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/python/providertestbase.py b/tests/src/python/providertestbase.py index 2c0f77f83d47..2290b4a37f05 100644 --- a/tests/src/python/providertestbase.py +++ b/tests/src/python/providertestbase.py @@ -451,7 +451,7 @@ def testExtentSubsetString(self): provider_extent = self.source.extent() self.source.setSubsetString(None) self.assertEqual(count, 0) - self.assertTrue(provider_extent.isNull()) + self.assertEqual(provider_extent, QgsRectangle()) self.assertEqual(self.source.featureCount(), 5) def testUnique(self):