changeset 8429:3210729950b1

test: fix code that does not run a test on 3.7
author John Rouillard <rouilj@ieee.org>
date Thu, 21 Aug 2025 09:53:32 -0400
parents cdf876bcd370
children 056061cfe135
files test/test_config.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/test_config.py	Wed Aug 20 21:04:56 2025 -0400
+++ b/test/test_config.py	Thu Aug 21 09:53:32 2025 -0400
@@ -1300,7 +1300,7 @@
         # different versions of python have different errors
         # (or no error for this case in 3.7)
         # FIXME remove version check post 3.7 as minimum version
-        if sys.version_info > (3,7):
+        if sys.version_info >= (3, 8, 0):
             with self.assertRaises(configuration.LoggingConfigError) as cm:
                 config = self.db.config.init_logging()
 

Roundup Issue Tracker: http://roundup-tracker.org/