def test_write_noheader_normal():
 out = StringIO()
 ascii.write(dat, out, Writer=ascii.FixedWidthNoHeader)
 assert_equal_splitlines(out.getvalue(), '| 1.2 |   "hello" | 1 | a |\n| 2.4 | \'s worlds | 2 | 2 |\n')

def test_write_noheader_normal ( ) : out = StringIO ( ) ascii . write ( dat , out , Writer = ascii . FixedWidthNoHeader ) assert_equal_splitlines ( out . getvalue ( ) , '| 1.2 |   "hello" | 1 | a |\n| 2.4 | \'s worlds | 2 | 2 |\n' )
write a table as a normal fixed width table .