Skip to content

Commit d7d9bd9

Browse files
committed
fix tests to correspond to the new change
1 parent 198cf6a commit d7d9bd9

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,8 @@ known-first-party = ["nwbinspector"]
135135
skip = '.git*,*.pdf,*.css'
136136
check-hidden = true
137137
ignore-words-list = 'assertin'
138+
139+
[dependency-groups]
140+
dev = [
141+
"pytest>=8.4.2",
142+
]

tests/unit_tests/test_time_series.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ def test_check_data_orientation():
6666
)
6767
) == InspectorMessage(
6868
message=(
69-
"Data may be in the wrong orientation. "
70-
"Time should be in the first dimension, and is usually the longest dimension. "
71-
"Here, another dimension is longer."
69+
"'test_time_series' data may be in the wrong orientation. "
70+
"Time should be the longest dimension, which is usually the first.\n"
71+
"Current shape: (2, 100).\n"
72+
"Suggestion: Transpose so the first dimension is 100."
7273
),
7374
importance=Importance.CRITICAL,
7475
check_function_name="check_data_orientation",

0 commit comments

Comments
 (0)