Skip to content

Commit 6924183

Browse files
Correct pytest fixture magic
Co-authored-by: Will Holmgren <[email protected]>
1 parent 63dd3ac commit 6924183

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/tests/iotools/test_bsrn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ def expected_index():
2929
return pd.date_range(start=start, periods=43200, freq='1min', tz='UTC')
3030

3131

32-
def test_format_index():
32+
def test_format_index(expected_index):
3333
actual = bsrn.read_bsrn(testfile)
34-
assert actual.index.equals(expected_index())
34+
assert actual.index.equals()

0 commit comments

Comments
 (0)