Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 8, 2024
1 parent 2c9b819 commit 6d9231b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,12 @@ def test_header_parse_blank_line():

# if the blank line in the header causes the reader to exit before reading the file
# the line looking for the Date in the ctd.from_btl() will throw a ValueError.
btl = ctd.from_btl(data_path.joinpath("btl", "blank_line_header.btl",))
btl = ctd.from_btl(
data_path.joinpath(
"btl",
"blank_line_header.btl",
),
)

# if a value error wasn't thrown, ensure the names array for the _metadata was set
assert btl._metadata["names"].index("Date")
Expand Down

0 comments on commit 6d9231b

Please sign in to comment.