Skip to content

Commit

Permalink
πŸ› Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Nov 26, 2023
1 parent 1cac84c commit d32dd60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devtools/pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def insert_assert(value: Any, prev: Any = None) -> int:
raise RuntimeError('insert_assert() requires Python 3.8+')
if prev:
use_value = sort_data_from_source(prev, value)
else: use_value = value
else:
use_value = value
format_code = load_black()
ex = Source.for_frame(call_frame).executing(call_frame)
if ex.node is None: # pragma: no cover
Expand Down

0 comments on commit d32dd60

Please sign in to comment.