Skip to content

Commit 769b459

Browse files
committed
fix tests
Signed-off-by: Tobias Pitters <[email protected]>
1 parent 250de8b commit 769b459

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
strategy:
1919
matrix:
20-
# python-version: ["3.9", "3.10", "3.11", "3.12"]
21-
python-version: ["3.10"]
22-
# os: [ubuntu-latest, macos-latest, windows-latest]
23-
os: [ubuntu-latest]
20+
python-version: ["3.9", "3.10", "3.11", "3.12"]
21+
os: [ubuntu-latest, macos-latest, windows-latest]
2422

2523
steps:
2624
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ deeplearning = [
4949
test = [
5050
"ipython",
5151
"jupyter",
52-
"pytest",
52+
"pytest==8.3.5",
5353
"pytest-cov",
5454
"twine",
5555
"pytest-mock",
@@ -70,7 +70,7 @@ linting = [
7070
dev = [
7171
"ipython",
7272
"jupyter",
73-
"pytest",
73+
"pytest==8.3.5",
7474
"pytest-cov",
7575
"twine",
7676
"pytest-mock",

tests/test_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def test_ohe_min_max_transformed_query_instance(self, sample_adultincome_query):
7171
output_query = [0.068, 0.449, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
7272
0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0]
7373
d = self.d[0]
74-
import ipdb; ipdb.set_trace(context=20)
7574
prepared_query = d.get_ohe_min_max_normalized_data(query_instance=sample_adultincome_query).iloc[0].tolist()
7675
assert output_query == pytest.approx(prepared_query, abs=1e-3)
7776

0 commit comments

Comments
 (0)