Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 8428:cdf876bcd370 | 8429:3210729950b1 |
|---|---|
| 1298 | 1298 |
| 1299 | 1299 |
| 1300 # different versions of python have different errors | 1300 # different versions of python have different errors |
| 1301 # (or no error for this case in 3.7) | 1301 # (or no error for this case in 3.7) |
| 1302 # FIXME remove version check post 3.7 as minimum version | 1302 # FIXME remove version check post 3.7 as minimum version |
| 1303 if sys.version_info > (3,7): | 1303 if sys.version_info >= (3, 8, 0): |
| 1304 with self.assertRaises(configuration.LoggingConfigError) as cm: | 1304 with self.assertRaises(configuration.LoggingConfigError) as cm: |
| 1305 config = self.db.config.init_logging() | 1305 config = self.db.config.init_logging() |
| 1306 | 1306 |
| 1307 # mangle args[0] to add got 'int' | 1307 # mangle args[0] to add got 'int' |
| 1308 # FIXME: remove mangle after 3.12 min version | 1308 # FIXME: remove mangle after 3.12 min version |
