From 770bc3bf9c1cbeac4505aa6db063e2d295e6f3d7 Mon Sep 17 00:00:00 2001 From: Jakob Keller <57402305+jakob-keller@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:59:31 +0200 Subject: [PATCH] ensure `aiobotocore.__version__` is in canonical form (#1177) --- tests/test_version.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_version.py b/tests/test_version.py index aa3ecce0..13bdc168 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -142,6 +142,9 @@ def test_release_versions(): # ensures versions in CHANGES.rst + __init__.py match init_version = version.parse(aiobotocore.__version__) + # the init version should be in canonical from + assert str(init_version) == aiobotocore.__version__ + changes_path = _root_path / 'CHANGES.rst' with changes_path.open('r') as f: