generated from dopt-python/py311
code cleansing, related to #2
This commit is contained in:
@@ -10,28 +10,6 @@ import dopt_sensor_anomalies.detection as detect
|
||||
import dopt_sensor_anomalies.types as t
|
||||
from dopt_sensor_anomalies import constants, errors
|
||||
|
||||
# TODO remove
|
||||
# @pytest.fixture(scope="module")
|
||||
# def img_paths() -> tuple[Path, ...]:
|
||||
# img_folder = Path(__file__).parent / "_img"
|
||||
# if not img_folder.exists():
|
||||
# raise FileNotFoundError("Img path not existing")
|
||||
# img_paths = tuple(img_folder.glob("*.bmp"))
|
||||
# if not img_paths:
|
||||
# raise ValueError("No images found")
|
||||
# return img_paths
|
||||
|
||||
|
||||
# @pytest.fixture(scope="module")
|
||||
# def single_img_path() -> Path:
|
||||
# img_folder = Path(__file__).parent / "_img"
|
||||
# if not img_folder.exists():
|
||||
# raise FileNotFoundError("Img path not existing")
|
||||
# img_paths = tuple(img_folder.glob("*_12.bmp"))
|
||||
# if not img_paths:
|
||||
# raise ValueError("No images found")
|
||||
# return img_paths[0]
|
||||
|
||||
|
||||
def test_midpoint():
|
||||
ptA = np.array([1.0, 2.0])
|
||||
|
||||
Reference in New Issue
Block a user