Skip to content

Commit 2862825

Browse files
committed
update a remote test
1 parent 8fe3d5e commit 2862825

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

astroquery/linelists/cdms/tests/test_cdms_remote.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,20 @@ def test_molecule_with_parens():
6767
MC = np.ma.core.MaskedConstant()
6868

6969
for col, val in zip(tbl[0].colnames,
70-
(232588.7246, 0.2828, -4.1005, 3, '293.85404', 45, 66, 506, 303, 44, 14, 30, MC, MC, MC, 45, 13, 33, MC, MC, MC, 'H2C(CN)2', False)):
70+
(232588.7246, 0.2828, -4.1005, 3, 293.8540, 445, 66, 506, 303, 44, 14, 30, MC, MC, MC, 45, 13, 33, MC, MC, MC, 'H2C(CN)2', False)):
7171
if val is MC:
7272
assert tbl[0][col].mask
7373
else:
7474
assert tbl[0][col] == val
7575

76+
# this test row includes degeneracy = 1225, which covers one of the weird letter-is-number parser cases
77+
for col, val in zip(tbl[16].colnames,
78+
(233373.369, 10.26, -4.8704, 3, 1229.0674, 1125, 66, 506, 303, 112, 10, 102, MC, MC, MC, 112, 9, 103, MC, MC, MC, 'H2C(CN)2', False),):
79+
if val is MC:
80+
assert tbl[16][col].mask
81+
else:
82+
assert tbl[16][col] == val
83+
7684

7785
@pytest.mark.remote_data
7886
def test_complex_molecule_remote():

0 commit comments

Comments
 (0)