From 00b8e92b2e9606035b79ca9683181f788f246eba Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Tue, 20 Feb 2024 12:13:51 -0500 Subject: [PATCH] TST: Add test --- testing/deprecated_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/deprecated_test.py b/testing/deprecated_test.py index 52752d4e8..a5f513063 100644 --- a/testing/deprecated_test.py +++ b/testing/deprecated_test.py @@ -118,6 +118,8 @@ def test_fixture_disallow_marks_on_fixtures(): 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():