@@ -0,0 +1,627 @@
+# Licensed under a 3-clause BSD style license - see LICENSE.rst%0A%0A%22%22%22%0AThis module tests some methods related to %60%60CDS%60%60 format%0Areader/writer.%0ARequires %60pyyaml %3Chttps://pyyaml.org/%3E%60_ to be installed.%0A%22%22%22%0Afrom io import StringIO%0A%0Afrom astropy.table import Table%0A%0A%0Adef test_write_data():%0A    output = %5B'S08-229 4625 1.23 1.23 -1.5      ',%0A              'S05-10  4342 0.91 1.82 -2.11 0.14',%0A              'S05-47  4654 1.28 1.74 -1.64 0.16'%5D%0A%0A    dat = 'data/cdsFunctional2.dat'%0A    t = Table.read(dat, format='ascii.cds')%0A%0A    out = StringIO()%0A    t.write(out, format='ascii.cds')%0A    assert out.getvalue().splitlines() == output%0A

add test for CDS format data writing this is done via `test_write_data` func in `test_cds.py` [skip ci]