File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 66
77import pytest
88
9+ from marimo ._dependencies .dependencies import DependencyManager
910from marimo ._runtime .packages .package_manager import LogCallback
1011from marimo ._runtime .packages .package_managers import create_package_manager
1112from marimo ._runtime .packages .pypi_package_manager import (
@@ -536,6 +537,9 @@ def test_package_manager_run_manager_not_installed() -> None:
536537# Encoding tests for Windows compatibility
537538
538539
540+ @pytest .mark .skipif (
541+ not DependencyManager .which ("poetry" ), reason = "poetry not installed"
542+ )
539543@patch ("subprocess.run" )
540544def test_poetry_list_packages_uses_utf8_encoding (mock_run : MagicMock ):
541545 """Test that poetry list uses UTF-8 encoding to handle non-ASCII characters"""
@@ -556,6 +560,9 @@ def test_poetry_list_packages_uses_utf8_encoding(mock_run: MagicMock):
556560 assert call_kwargs .get ("text" ) is True
557561
558562
563+ @pytest .mark .skipif (
564+ not DependencyManager .which ("pixi" ), reason = "pixi not installed"
565+ )
559566@patch ("subprocess.run" )
560567def test_pixi_list_packages_uses_utf8_encoding (mock_run : MagicMock ):
561568 """Test that pixi list uses UTF-8 encoding to handle non-ASCII characters"""
You can’t perform that action at this time.
0 commit comments