@pytest.mark.skipif('not HAS_YAML')
def test_multidim_input():
 t = Table([np.arange(4).reshape(2, 2)], names=['a'])
 out = StringIO()
 with pytest.raises(ValueError) as err:
  t.write(out, format='ascii.ecsv')
 assert ('ECSV format does not support multidimensional column' in str(err.value))

@ pytest . mark . skipif ( 'not HAS_YAML' ) def test_multidim_input ( ) : t = Table ( [ np . arange ( 4 ) . reshape ( 2 , 2 ) ] , names = [ 'a' ] ) out = StringIO ( ) with pytest . raises ( ValueError ) as err : t . write ( out , format = 'ascii.ecsv' ) assert ( 'ECSV format does not support multidimensional column' in str ( err . value ) )
multi-dimensional column in input .