Skip to content

Commit

Permalink
TST: Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Feb 20, 2024
1 parent 715dbc0 commit 00b8e92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testing/deprecated_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ def foo():
raise NotImplementedError()

assert len(record) == 2 # one for each mark decorator
# should point to this file
assert all(rec.filename == __file__ for rec in record)


def test_fixture_disallowed_between_marks():
Expand Down

0 comments on commit 00b8e92

Please sign in to comment.