From bc6860416fde056cc17cc3b3e0d24eda72092a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= <jerome@deuchnord.fr> Date: Mon, 14 Mar 2022 10:35:24 +0100 Subject: [PATCH] test: fix an issue in the RegExp testing the next full Moon phase line --- tests/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/utils.py b/tests/utils.py index 2264f9f..f33bd73 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -22,12 +22,11 @@ NEXT_MOON_PHASE_PATTERN = re.compile( r"^((New Moon)|(Waxing Crescent)|" r"(First Quarter)|(Waxing Gibbous)|" r"(Full Moon)|(Waning Gibbous)|" - r"(Last Quarter)|(Waning Crescent)" - r") " + r"(Last Quarter)|(Waning Crescent)) " r"on ((Monday)|(Tuesday)|(Wednesday)|(Thursday)|(Friday)|(Saturday)|(Sunday)), " r"((January)|(February)|(March)|(April)|(May)|(June)|" r"(July)|(August)|(September)|(October)|(November)|(December)) " - r"[0-9]{1,2}, [0-9]{4} at [0-9]{2}:[0-9]{2} [AP]M$" + r"[0-9]{1,2}, [0-9]{4} at [0-9]{1,2}:[0-9]{2} [AP]M$" )