Skip to content
Permalink
Browse files

Don't run a test under proj 6

  • Loading branch information
nyalldawson committed Dec 20, 2019
1 parent 3b4ccb4 commit 2371b5d50a4f8261971904e4e59da2c452be5a96
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgscoordinateoperationwidget.py
@@ -96,7 +96,7 @@ def testOperations(self):
'+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(os.environ.get('TRAVIS', '') == 'true', 'Depends on local environment and grid presence')
@unittest.skipIf(os.environ.get('TRAVIS', '') == 'true' or QgsProjUtils.projVersionMajor() >= 6, 'Depends on local environment and grid presence')
def testOperationsCruftyProj(self):
w = QgsCoordinateOperationWidget()
self.assertFalse(w.hasSelection())

0 comments on commit 2371b5d

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