Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix dict syntax
  • Loading branch information
Kevin D Smith authored Mar 15, 2021
commit 68ac3631a407527b7b74f0b1f8bd9e7d32e3010c
6 changes: 3 additions & 3 deletions pandas/tests/io/formats/test_to_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ def test_to_string_with_formatters():
"formatters",
[
{
int=lambda x: f"[1] {x}",
float=lambda x: f"[2] {x}",
object=lambda x: f"[3] {x}",
"int": lambda x: f"[1] {x}",
"float": lambda x: f"[2] {x}",
"object": lambda x: f"[3] {x}",
},
[lambda x: f"[1] {x}", lambda x: f"[2] {x}", lambda x: f"[3] {x}"],
],
Expand Down