Upgrade to Python 3.11

This commit is contained in:
Tanner
2026-11-18 17:52:06 +00:00
parent bd84e34085
commit 9bd30bbeec
3 changed files with 45 additions and 34 deletions
+3
View File
@@ -49,6 +49,9 @@ service = load_service()
class GreenOceanUpgradeTests(unittest.TestCase):
def test_python_311_or_newer_runtime(self):
self.assertGreaterEqual(sys.version_info[:2], (3, 11))
def test_domain_and_url_inputs_keep_their_distinct_redirect_paths(self):
self.assertTrue(validators.domain('example.com'))
self.assertFalse(validators.url('example.com'))