@pytest.mark.parametrize('parallel', [True, False])
def test_quoted_empty_values(parallel, read_basic):
 if parallel:
  pytest.xfail('Multiprocessing can fail with quoted fields')
 text = 'a b c\n1 2 " \n "'
 table = read_basic(text, parallel=parallel)
 assert (table['c'][0] is ma.masked)

@ pytest . mark . parametrize ( 'parallel' , [ True , False ] ) def test_quoted_empty_values ( parallel , read_basic ) : if parallel : pytest . xfail ( 'Multiprocessing can fail with quoted fields' ) text = 'a b c\n1 2 " \n "' table = read_basic ( text , parallel = parallel ) assert ( table [ 'c' ] [ 0 ] is ma . masked )
quoted empty values spanning multiple lines should be treated correctly .