From f7a29d5222819e1b3332198fa83af6f81c5c0d73 Mon Sep 17 00:00:00 2001 From: Moraxyc Date: Mon, 27 May 2024 19:36:02 +0800 Subject: [PATCH] fix: conform PEP 440 --- test/test_backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_backend.py b/test/test_backend.py index a123d641..57a68e6a 100755 --- a/test/test_backend.py +++ b/test/test_backend.py @@ -282,7 +282,7 @@ def test_strip_alias(self): self.assertIsInstance(string_type, String) def test_preserve_aliases_from_api(self): - api = Api(version=None) + api = Api(version="0.1b1") # Ensure imports come after 'preserve_alias' lexiographicaly # to catch namespace ordering bugs api.ensure_namespace('preserve_alias') @@ -390,7 +390,7 @@ def test_preserve_aliases_from_api(self): self.assertIsInstance(field.data_type, Alias) def test_no_preserve_aliases_from_api(self): - api = Api(version=None) + api = Api(version="0.1b1") # Ensure imports come after 'preserve_alias' lexiographicaly # to catch namespace ordering bugs api.ensure_namespace('preserve_alias')