From 940b7a6860ab5db0e0f45214c90e6625c4648cba Mon Sep 17 00:00:00 2001 From: Chuck McCallum Date: Tue, 24 Sep 2024 19:19:54 -0400 Subject: [PATCH] norm python version --- dp_creator_ii/tests/test_converters.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dp_creator_ii/tests/test_converters.py b/dp_creator_ii/tests/test_converters.py index 466e093..851c27e 100644 --- a/dp_creator_ii/tests/test_converters.py +++ b/dp_creator_ii/tests/test_converters.py @@ -13,6 +13,10 @@ def norm_nb(nb_str): r'\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+Z', '2024-01-01T00:00:00.000000Z', normed_nb_str) + normed_nb_str = re.sub( + r'"version": "[^"]+"', + '"version": "3.0.0"', + normed_nb_str) return normed_nb_str