From 9902b3cb14e56338fccfc308869215da6748654c Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 20 Dec 2019 11:08:03 +1000 Subject: [PATCH] Skip a test on travis --- tests/src/python/test_qgscoordinateoperationwidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/python/test_qgscoordinateoperationwidget.py b/tests/src/python/test_qgscoordinateoperationwidget.py index b86eacb5265..6455149bfb3 100644 --- a/tests/src/python/test_qgscoordinateoperationwidget.py +++ b/tests/src/python/test_qgscoordinateoperationwidget.py @@ -96,7 +96,7 @@ class TestQgsCoordinateOperationWidget(unittest.TestCase): '+proj=pipeline +step +inv +proj=utm +zone=55 +south +ellps=GRS80 +step +proj=hgridshift +grids=GDA94_GDA2020_conformal_and_distortion.gsb +step +proj=utm +zone=55 +south +ellps=GRS80') self.assertEqual(len(spy), 6) - @unittest.skipIf(QgsProjUtils.projVersionMajor() >= 6, 'Not a crufty proj build') + @unittest.skipIf(os.environ.get('TRAVIS', '') == 'true', 'Depends on local environment and grid presence') def testOperationsCruftyProj(self): w = QgsCoordinateOperationWidget() self.assertFalse(w.hasSelection())