Skip to content

Commit

Permalink
fix CI per Fokko's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
puchengy committed Oct 13, 2023
1 parent 359a93b commit 62edada
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_integration_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ def test_write_sample_manifest(table_test_all_types: Table) -> None:
)
wrapped_entry_v2 = ManifestEntry(*entry.record_fields())
wrapped_entry_v2.data_file = wrapped_data_file_v2_debug
wrapped_entry_v2_dict = todict(wrapped_entry_v2)
# This one should not be written
del wrapped_entry_v2_dict['data_file']['spec_id']

with TemporaryDirectory() as tmpdir:
tmp_avro_file = tmpdir + "/test_write_manifest.avro"
output = PyArrowFileIO().new_output(tmp_avro_file)
Expand All @@ -119,4 +123,4 @@ def test_write_sample_manifest(table_test_all_types: Table) -> None:
it = iter(r)
fa_entry = next(it)

assert fa_entry == todict(wrapped_entry_v2)
assert fa_entry == wrapped_entry_v2_dict

0 comments on commit 62edada

Please sign in to comment.