From f4dc086be1c49ecadc3514d1aefc7aca06a1fd79 Mon Sep 17 00:00:00 2001 From: "Alan D. Snow" Date: Wed, 30 Aug 2023 14:07:57 -0500 Subject: [PATCH] TST: Adjust test_repr__conditional for PROJ 9.3 (#1333) --- test/conftest.py | 1 + test/test_transformer.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/conftest.py b/test/conftest.py index 3bd2e8c07..ad385b6f6 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -18,6 +18,7 @@ PROJ_GTE_911 = PROJ_LOOSE_VERSION >= version.parse("9.1.1") PROJ_GTE_92 = PROJ_LOOSE_VERSION >= version.parse("9.2.0") PROJ_GTE_921 = PROJ_LOOSE_VERSION >= version.parse("9.2.1") +PROJ_GTE_93 = PROJ_LOOSE_VERSION >= version.parse("9.3.0") def unset_data_dir(): diff --git a/test/test_transformer.py b/test/test_transformer.py index 3942e2741..058fac734 100644 --- a/test/test_transformer.py +++ b/test/test_transformer.py @@ -22,6 +22,7 @@ from test.conftest import ( PROJ_GTE_91, PROJ_GTE_92, + PROJ_GTE_93, grids_available, proj_env, proj_network_env, @@ -540,7 +541,7 @@ def test_repr__conditional(): "Description: unavailable until proj_trans is called\n" "Area of Use:\n- undefined" ) - elif PROJ_GTE_92: + elif PROJ_GTE_92 and not PROJ_GTE_93: assert trans_repr == ( "\n" "Description: Transformation from EGM2008 height to WGS 84 "