Skip to content

Commit c108362

Browse files
Fix test_build_1 test.
1 parent 465d228 commit c108362

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pvlib/test/test_bifacial.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pandas as pd
2+
import numpy as np
23
from datetime import datetime
34
from pvlib.bifacial import pvfactors_timeseries, PVFactorsReportBuilder
45
from conftest import requires_pvfactors
@@ -115,7 +116,7 @@ def test_build_1():
115116
"""
116117
report = None
117118
pvarray = None
118-
expected = {'total_inc_back': [], 'total_inc_front': []}
119+
expected = {'total_inc_back': [np.nan], 'total_inc_front': [np.nan]}
119120
assert expected == PVFactorsReportBuilder.build(report, pvarray)
120121

121122

0 commit comments

Comments
 (0)