Skip to content

Commit

Permalink
fix repr test
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-ho committed Feb 6, 2024
1 parent 946a5cd commit 7d0ec15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/dataframe/test_repr.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,17 +300,16 @@ def test_repr_empty_struct():
"""

assert str(df.schema()) == expected_schema_repr

expected_repr = """╭───────────────┬──────────────────────────────────╮
│ empty_structs ┆ nested_empty_structs │
│ --- ┆ --- │
│ Struct[] ┆ Struct[a: Struct[], b: Struct[]] │
╞═══════════════╪══════════════════════════════════╡
│ {} ┆ {a: {}, │
│ ┆ b: {},
│ ┆ b: None,
│ ┆ } │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ {} ┆ {a: {},
│ {} ┆ {a: None,
│ ┆ b: {}, │
│ ┆ } │
╰───────────────┴──────────────────────────────────╯
Expand Down

0 comments on commit 7d0ec15

Please sign in to comment.