Skip to content

Automation foundation model for tiny devices: 2-bit, 8-29 MB, tool calls, ASR, structured extraction and embeddings on phones, wearables, smart homes, robots, cars and microcontrollers.

fix(tests): skip the packaging test when tomllib is unavailable (#119)

Ruslan Rakhimov9bbc9d77af41
diff --git a/tests/test_packaging.py b/tests/test_packaging.py
index 7a3f1a7..56c7a69 100644
--- a/tests/test_packaging.py
+++ b/tests/test_packaging.py
@@ -2,7 +2,9 @@ from __future__ import annotations
from pathlib import Path
-import tomllib
+import pytest
+
+tomllib = pytest.importorskip("tomllib")
def test_training_dependencies_are_not_required_for_runtime() -> None: