'Test that Card constructor raises exceptions on bad arguments'

def test_constructor_filter_illegal_data_structures(self):

    pytest.raises(ValueError, fits.Card, ('abc',), {'value': (2, 3)})
    pytest.raises(ValueError, fits.Card, 'key', [], 'comment')
