Unit test fix

pull/153/head
Frh 2020-04-22 14:50:59 -07:00
parent 7b0ac03f8e
commit 6962c714f9
2 changed files with 9 additions and 1 deletions

View File

@ -2149,6 +2149,14 @@ data_stream_split_text = [
],
]
# The stream algorithm excludes the string "Alphabetic Listing by type"
data_hybrid_split_text = []
data_hybrid_split_text.extend(data_stream_split_text)
data_hybrid_split_text[0] = [
'FEB', 'RUAR', 'Y 2014 M27 (BUS)', '',
'ALPHABETIC LISTING BY T', 'YPE', '', '', '', 'ABLPDM27'
]
data_stream_flag_size = [
[
"States",

View File

@ -214,7 +214,7 @@ def test_hybrid_columns():
def test_hybrid_split_text():
df = pd.DataFrame(data_stream_split_text)
df = pd.DataFrame(data_hybrid_split_text)
filename = os.path.join(testdir, "tabula/m27.pdf")
tables = camelot.read_pdf(