Commit a1516ac
committed
fix: resolve Python 3.10 compatibility in test files
- Remove UTC import from test_mcp_audit_logging.py (not available in Python 3.10)
- Replace datetime.now(UTC) with datetime.now(timezone.utc) in tests
- Add noqa comments for ruff UP017 rule suppression
- Complete Python 3.10 compatibility across all files including tests1 parent 98d5fdd commit a1516ac
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
0 commit comments