Skip to content

Commit

Permalink
fixed failing string test
Browse files Browse the repository at this point in the history
  • Loading branch information
Seher Karakuzu authored and Seher Karakuzu committed Mar 14, 2024
1 parent 2924684 commit 9dca2d7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tiled/_tests/test_writing.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
import pandas.testing
import pytest
import sparse
from pandas.testing import assert_frame_equal

from ..catalog import in_memory
from ..catalog.adapter import CatalogContainerAdapter
from ..client import Context, from_context, record_history
from ..client.dataframe import DataFrameClient
from ..mimetypes import PARQUET_MIMETYPE
from ..queries import Key
from ..server.app import build_app
Expand Down Expand Up @@ -520,7 +520,7 @@ def test_append_partition(
tree: CatalogContainerAdapter,
orig_file: dict,
file_toappend: dict,
expected_file: DataFrameClient,
expected_file: dict,
):
with Context.from_app(build_app(tree)) as context:
client = from_context(context, include_data_sources=True)
Expand All @@ -546,6 +546,4 @@ def test_append_partition(

df3 = pandas.DataFrame(expected_file)

assert [row for col in x.columns for row in x[col]] == [
row for col in df3.columns for row in df3[col]
]
assert_frame_equal(x.read(), df3, check_dtype=False)

0 comments on commit 9dca2d7

Please sign in to comment.