Skip to content

Commit b198eda

Browse files
committed
Fix flake8 line length in _degrees_to_index test
1 parent 2353a4b commit b198eda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_tools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ def test__golden_sect_DataFrame_nans():
102102
def test_degrees_to_index_1():
103103
"""Test that _degrees_to_index raises an error when something other than
104104
'latitude' or 'longitude' is passed."""
105-
with pytest.raises(ValueError, match="coordinate must be"): # invalid value for coordinate argument
105+
# invalid value for coordinate argument
106+
with pytest.raises(ValueError, match="coordinate must be"):
106107
tools._degrees_to_index(degrees=22.0, coordinate='width')
107108

108109

0 commit comments

Comments
 (0)