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

def test_write_noheader_no_bookend ( ) : out = StringIO ( ) ascii . write ( dat , out , Writer = ascii . FixedWidthNoHeader , bookend = False ) assert_equal_splitlines ( out . getvalue ( ) , '1.2 |   "hello" | 1 | a\n2.4 | \'s worlds | 2 | 2\n' )
write a table as a fixed width table with no bookend .