Upgrade to Python 3.11

This commit is contained in:
Tanner
2026-11-18 17:52:06 +00:00
parent 4af8b15692
commit 3827de1567
3 changed files with 23 additions and 8 deletions
+4
View File
@@ -1,3 +1,4 @@
import sys
import unittest
from unittest.mock import patch
@@ -10,6 +11,9 @@ app_module.flask_app.config['TESTING'] = True
class T0RegUpgradeTests(unittest.TestCase):
def test_python_311_or_newer_runtime(self):
self.assertGreaterEqual(sys.version_info[:2], (3, 11))
def setUp(self):
app_module.registers.clear()
self.client = app_module.flask_app.test_client()