mirror of
https://github.com/rookiestar28/ComfyUI-OpenClaw.git
synced 2026-08-14 00:48:07 +00:00
fix(tests): restore python 3.10 tomllib compatibility
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import tomllib
|
||||
try:
|
||||
import tomllib
|
||||
except ImportError: # pragma: no cover
|
||||
# IMPORTANT: keep the Python 3.10 fallback; WSL pre-push still validates on 3.10.
|
||||
import tomli as tomllib
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user