Unit test fix

pull/153/head
Frh 2020-04-22 14:25:03 -07:00
parent df3d28837d
commit fab13ee5b8
2 changed files with 4 additions and 1 deletions

View File

@ -1627,6 +1627,9 @@ data_stream_table_areas = [
["(each day of the payroll period)", ""],
]
# Hybrid doesn't recognize the footer as belonging to the table.
data_hybrid_table_regions = data_stream_table_areas[:-1]
data_stream_columns = [
[
"Clave",

View File

@ -182,7 +182,7 @@ def test_hybrid_two_tables():
def test_hybrid_table_regions():
df = pd.DataFrame(data_stream_table_areas)
df = pd.DataFrame(data_hybrid_table_regions)
filename = os.path.join(testdir, "tabula/us-007.pdf")
# The "stream" test looks for a region in ["320,460,573,335"], which