def test_write_csv(tmpdir):
 t = Table()
 t.add_column(Column(name='a', data=[1, 2, 3]))
 t.add_column(Column(name='b', data=['a', 'b', 'c']))
 path = str(tmpdir.join('data.csv'))
 t.write(path)

def test_write_csv ( tmpdir ) : t = Table ( ) t . add_column ( Column ( name = 'a' , data = [ 1 , 2 , 3 ] ) ) t . add_column ( Column ( name = 'b' , data = [ 'a' , 'b' , 'c' ] ) ) path = str ( tmpdir . join ( 'data.csv' ) ) t . write ( path )
if properly registered .