Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus committed Jul 26, 2022
1 parent d82fada commit 1e5932c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ def test_frame() -> None:
same_frame = Frame(frame_info)
assert frame_info.frame == frame.frame

assert frame.lineno == 14
assert frame.lineno == 12
assert frame.filename == __file__
assert frame.function == "test_frame"
assert frame.line == " simple_exception()\n"

with open(__file__) as f:
assert f.read() == frame.file_content

assert repr(frame) == f"<Frame {__file__}, test_frame, 14>"
assert repr(frame) == f"<Frame {__file__}, test_frame, 12>"

try:
nested_exception()
Expand Down

0 comments on commit 1e5932c

Please sign in to comment.