Skip to content

Commit 2c86fc9

Browse files
committed
Add an explicit test for W
1 parent d25920e commit 2c86fc9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_roman.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,10 @@ def test_roman_single_bandpass():
543543
bp_dict = galsim.roman.getBandpasses()
544544
assert bp == bp_dict[bp.name]
545545

546+
# Explicitly check for the W-band, since that's a special case.
547+
bp = galsim.roman.getBandpass("W146")
548+
assert bp == bp_dict[bp.name]
549+
546550
# Test for a non-imaging bandpass.
547551
bp = galsim.roman.getBandpass("SNPrism")
548552
assert bp.name == "SNPrism"

0 commit comments

Comments
 (0)