8000 Fix assertion in test_irradiance.py::test_get_ground_diffuse_albedo_0 by bowie2211 · Pull Request #1575 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Fix assertion in test_irradiance.py::test_get_ground_diffuse_albedo_0 #1575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed test_irradiance.py::test_get_ground_diffuse_albedo_0 test asser…
…tion is incorrect #1569
  • Loading branch information
bowie2211 committed Oct 20, 2022
commit 52402831246fbee75c53e837fe7adc44433745b5
2 changes: 1 addition & 1 deletion pvlib/tests/test_irradiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def test_get_ground_diffuse_simple_series(irrad_data):
def test_get_ground_diffuse_albedo_0(irrad_data):
ground_irrad = irradiance.get_ground_diffuse(
40, irrad_data['ghi'], albedo=0)
assert 0 == ground_irrad.all()
assert (0 == ground_irrad).all()


def test_get_ground_diffuse_albedo_series(times):
Expand Down
0