Skip to content

Commit

Permalink
manual reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
kivel committed Jan 14, 2025
1 parent 7e465a4 commit ea441a4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ophyd_async/testing/_assert.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ async def assert_reading(
"""
actual_reading = await readable.read()
# assert (
# _approx_readable_value(expected_reading) == actual_reading
# ), _generate_assert_error_msg(
# name=readable.name,
# expected_result=expected_reading,
# actual_result=actual_reading,
# )

assert (
_approx_readable_value(expected_reading) == actual_reading
), _generate_assert_error_msg(
Expand Down

0 comments on commit ea441a4

Please sign in to comment.