From 150678bc1b6edde1b1687926dcda179fe7be0335 Mon Sep 17 00:00:00 2001 From: Abdol A Date: Tue, 19 Mar 2024 16:21:34 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Skip=20test=20coverage=20for=20for?= =?UTF-8?q?=20checking=20for=20python=203.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tiatoolbox/models/architecture/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiatoolbox/models/architecture/utils.py b/tiatoolbox/models/architecture/utils.py index 01226f1d1..94f970df8 100644 --- a/tiatoolbox/models/architecture/utils.py +++ b/tiatoolbox/models/architecture/utils.py @@ -39,7 +39,7 @@ def compile_model( return model # This check will be removed when torch.compile is supported in Python 3.12+ - if sys.version_info >= (3, 12): + if sys.version_info >= (3, 12): # pragma: no cover logger.warning( ("torch-compile is currently not supported in Python 3.12+. ",), )