Skip to content

Commit

Permalink
lobster beignet dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ncfrey committed May 14, 2024
1 parent dcd901a commit 2991399
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 112 deletions.
4 changes: 2 additions & 2 deletions src/beignet/features/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ._feature import Feature
from ._features import Feature

__all__ = [
"Feature",
]
]
Empty file added tests/__init__.py
Empty file.
Empty file added tests/beignet/__init__.py
Empty file.
8 changes: 8 additions & 0 deletions tests/beignet/features/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import pytest
import torch
from yeji.features._feature import Feature


@pytest.fixture
def feature() -> Feature:
return Feature(torch.tensor([1, 2, 3]))
2 changes: 0 additions & 2 deletions tests/beignet/features/test__feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def test___torch_function__(self, feature: Feature):
(feature, torch.tensor([1, 2, 3])),
)

assert torch.is_tensor(result)

assert not isinstance(result, Feature)

def test_device(self, feature: Feature):
Expand Down
106 changes: 0 additions & 106 deletions tests/beignet/io/test__load_omega_config.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/beignet/io/test__load_parquet.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pandas as pd
import pytest
from prescient.io._load_parquet import load_parquet_to_pandas
from beignet.io._load_parquet import load_parquet_to_pandas


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/beignet/io/test__parse_s3_path.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from prescient.io._parse_s3_path import parse_s3_path
from beignet.io._parse_s3_path import parse_s3_path


def test_parse_s3_path():
Expand Down

0 comments on commit 2991399

Please sign in to comment.