Skip to content

Commit c216255

Browse files
committed
use str year in test
1 parent c857047 commit c216255

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pvlib/tests/iotools/test_psm4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def test_get_psm4_attribute_mapping(nrel_api_key):
185185
"""Test that pvlib names can be passed in as attributes and get correctly
186186
reverse mapped to psm4 names"""
187187
data, meta = psm4.get_psm4(LATITUDE, LONGITUDE, nrel_api_key,
188-
PVLIB_EMAIL, names=2019, interval=60,
188+
PVLIB_EMAIL, names='2019', interval=60,
189189
attributes=['ghi', 'wind_speed'],
190190
leap_day=False, map_variables=True)
191191
# Check that columns are in the correct order (GH1647)

0 commit comments

Comments
 (0)