Skip to content

Commit

Permalink
fix(DataframeSerializer): fixing test failure on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
scaliseraoul committed Jan 15, 2025
1 parent fd22f8c commit 72d4732
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/unit_tests/helpers/test_dataframe_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ def test_serialize_with_name_and_description(
"""Test serialization with name and description attributes."""

result = sample_dataframe_serializer.serialize(sample_df)
expected = (
'<table table_name="test_table" description="This is a test table" dimensions="2x2">\n'
"Name,Age\n"
"Alice,25\n"
"Bob,30\n"
"</table>\n"
)
expected = """<table table_name="test_table" description="This is a test table" dimensions="2x2">
Name,Age
Alice,25
Bob,30
</table>
"""
assert result == expected

0 comments on commit 72d4732

Please sign in to comment.