Skip to content

Commit

Permalink
use None in test
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhanse committed Apr 9, 2024
1 parent e4e2219 commit fc2fd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvanalytics/tests/features/test_snow.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_categorize():
# np.nan, vr<thres, vr<thres, vr=thres, vr>thres, vr>thres, vr<thres
# vo>thres, vo>thres, vo>thres, vo>thres, vo>thres, vo>thres, vo<thres
# tr<thres, np.nan, tr>thres, tr<thres, tr<thres, tr<thres, tr>thres
expected = np.array([np.nan, np.nan, 2, 2, 2, 4, 0])
expected = np.array([None, None, 2, 2, 2, 4, 0])
result = snow.categorize(vmp_ratio, transmission, voltage, min_dcv,
threshold_vratio, threshold_transmission)
assert_array_equal(result, expected)

0 comments on commit fc2fd20

Please sign in to comment.