Upgrade to Python 3.11
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import importlib.util
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -11,6 +12,9 @@ app_module.app.config['TESTING'] = True
|
||||
|
||||
|
||||
class IsEvenUpgradeTests(unittest.TestCase):
|
||||
def test_python_311_or_newer_runtime(self):
|
||||
self.assertGreaterEqual(sys.version_info[:2], (3, 11))
|
||||
|
||||
def setUp(self):
|
||||
app_module.count = 0
|
||||
self.client = app_module.app.test_client()
|
||||
|
||||
Reference in New Issue
Block a user