From 070f7c61bdff40d4197275e391df3e574b2c70f5 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Tue, 5 Dec 2023 07:49:40 +0000 Subject: [PATCH] coverage: exclude old fullmatch() --- python/phonenumbers/re_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/phonenumbers/re_util.py b/python/phonenumbers/re_util.py index 2310df07..fd01ef42 100644 --- a/python/phonenumbers/re_util.py +++ b/python/phonenumbers/re_util.py @@ -32,7 +32,7 @@ def fullmatch(pattern, string): return pattern.fullmatch(string) -else: +else: # pragma no cover def fullmatch(pattern, string): """Try to apply the pattern at the start of the string, returning a match