Mercurial > p > roundup > code
diff test/test_config.py @ 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 | de1dac9abcb6 |
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()
