Skip to content

Commit

Permalink
Fix tests for pueblo.ngr
Browse files Browse the repository at this point in the history
Not all packages are installed on those test jobs.
  • Loading branch information
amotl committed Dec 14, 2023
1 parent 2a723dc commit dfe6d3c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion tests/test_dataframe.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# ruff: noqa: E402
from pathlib import Path

import pandas as pd
import pytest

pd = pytest.importorskip("pandas")
from dask.utils import is_dataframe_like
from pandas._testing import raise_assert_detail

Expand Down
3 changes: 2 additions & 1 deletion tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
import dataclasses
import typing as t

import magic
import pytest

magic = pytest.importorskip("magic")

pytest.importorskip("pathlibfs")
from pathlibfs import Path as PathPlus

Expand Down
3 changes: 2 additions & 1 deletion tests/test_proc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pytest

from pueblo.util.proc import process
proc = pytest.importorskip("pueblo.util.proc")
process = proc.process


def test_process_success(tmp_path):
Expand Down

0 comments on commit dfe6d3c

Please sign in to comment.