@pytest.mark.skipif('not HAS_BEAUTIFUL_SOUP')
def test_read_html_unicode():
 table_in = [u'<table>', u'<tr><td>&#x0394;</td></tr>', u'<tr><td>\u0394</td></tr>', u'</table>']
 dat = Table.read(table_in, format='ascii.html')
 assert np.all((dat['col1'] == [u'\u0394', u'\u0394']))

@ pytest . mark . skipif ( 'not HAS_BEAUTIFUL_SOUP' ) def test_read_html_unicode ( ) : table_in = [ u'<table>' , u'<tr><td>&#x0394;</td></tr>' , u'<tr><td>\u0394</td></tr>' , u'</table>' ] dat = Table . read ( table_in , format = 'ascii.html' ) assert np . all ( ( dat [ 'col1' ] == [ u'\u0394' , u'\u0394' ] ) )
test reading an html table with unicode values .