Skip to content

Commit

Permalink
Use ReprSelfie to do take advantage of Python's repr method.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed May 5, 2024
1 parent 302e427 commit 795c445
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/example-pytest-selfie/tests/simple_inline_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@


def test_write():
expect_selfie("B").to_be_TODO()
expect_selfie("B").to_be("B")
expect_selfie(20000).to_be(20_000)
expect_selfie([1, 2, 3]).to_be([1, 2, 3])
expect_selfie(("a", 2, 3)).to_be(('a', 2, 3))
expect_selfie({"a": 1, "b": 2}).to_be({'a': 1, 'b': 2})

0 comments on commit 795c445

Please sign in to comment.