test: support TOML parsing on Python 3.10

This commit is contained in:
Joseph Magly
2026-08-22 11:04:56 -04:00
parent 7b7109feb5
commit c546d30e9e
+5 -1
View File
@@ -5,13 +5,17 @@ from __future__ import annotations
import importlib.metadata
import json
import sys
import tomllib
from pathlib import Path
from types import SimpleNamespace
import pytest
import yaml
try:
import tomllib
except ModuleNotFoundError: # pragma: no cover - exercised by the Python 3.10 CI lane
import tomli as tomllib
from scripts import jetson_support
from scripts import run_conditional_gate
from scripts import setup_jetson