Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/cubedynamics/tests/test_import_and_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@
import numpy as np
import xarray as xr

import cubedynamics as cd
from cubedynamics import pipe, verbs as v


def test_import_cubedynamics_has_version():
"""Ensure the package exposes a version attribute."""

assert hasattr(cd, "__version__")


def test_pipe_anomaly_variance_chain():
"""Smoke-test chaining simple pipe verbs if available."""

Expand Down
16 changes: 0 additions & 16 deletions src/cubedynamics/tests/test_imports.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"""Basic import smoke tests for the cubedynamics package."""

import pytest

import cubedynamics


Expand All @@ -19,17 +17,3 @@ def test_streaming_helpers_are_callable():
]
for func in public_funcs:
assert callable(func)


def test_streaming_stubs_raise_not_implemented():
"""Only the unimplemented helpers should raise NotImplementedError."""
stub_funcs = [
cubedynamics.stream_prism_to_cube,
cubedynamics.correlation_cube,
]
for func in stub_funcs:
with pytest.raises(NotImplementedError):
if func is cubedynamics.correlation_cube:
func(None, [None])
else:
func(None)
Loading