Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Oct 11, 2024
1 parent b1fe14f commit 0dd0538
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
import pytest


@pytest.fixture()
@pytest.fixture
def tmp_file(tmp_path: Path) -> Path:
return tmp_path / "target.edf"
6 changes: 3 additions & 3 deletions tests/test_edf_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ def test_decode_edfplus_date_invalid_month_name():
_decode_edfplus_date("02-MAI-1951")


@pytest.fixture()
@pytest.fixture
def patient():
return Patient._from_str("MCH-0234567 F 02-MAY-1951 Haagse_Harry")


@pytest.fixture()
@pytest.fixture
def recording():
return Recording._from_str(
"Startdate 02-MAR-2002 EMG561 BK/JOP Sony. MNC R Median Nerve."
)


@pytest.fixture()
@pytest.fixture
def edf(patient, recording):
return Edf([EdfSignal(np.arange(10), 1)], patient=patient, recording=recording)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_edf_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def sine(duration, f, fs):
return np.sin(2 * np.pi * f * t)


@pytest.fixture()
@pytest.fixture
def dummy_edf_signal() -> EdfSignal:
data = sine(5, 2, 128)
return EdfSignal(data, 128)
Expand Down

0 comments on commit 0dd0538

Please sign in to comment.