@pytest.mark.parametrize('parallel', [True, False])
def test_conversion(parallel, read_basic):
 text = '\nA B C D E\n1 a 3 4 5\n2. 1 9 10 -5.3e4\n4 2 -12 .4 six\n'
 table = read_basic(text, parallel=parallel)
 assert_equal(table['A'].dtype.kind, 'f')
 assert (table['B'].dtype.kind in ('S', 'U'))
 assert_equal(table['C'].dtype.kind, 'i')
 assert_equal(table['D'].dtype.kind, 'f')
 assert (table['E'].dtype.kind in ('S', 'U'))

@ pytest . mark . parametrize ( 'parallel' , [ True , False ] ) def test_conversion ( parallel , read_basic ) : text = '\nA B C D E\n1 a 3 4 5\n2. 1 9 10 -5.3e4\n4 2 -12 .4 six\n' table = read_basic ( text , parallel = parallel ) assert_equal ( table [ 'A' ] . dtype . kind , 'f' ) assert ( table [ 'B' ] . dtype . kind in ( 'S' , 'U' ) ) assert_equal ( table [ 'C' ] . dtype . kind , 'i' ) assert_equal ( table [ 'D' ] . dtype . kind , 'f' ) assert ( table [ 'E' ] . dtype . kind in ( 'S' , 'U' ) )
the reader should try to convert each column to ints .