We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8acba23 commit 3775b03Copy full SHA for 3775b03
tests/test_filelock.py
@@ -756,7 +756,7 @@ def test_singleton_locks_must_be_initialized_with_the_same_args(lock_type: type[
756
with pytest.raises(ValueError, match=general_msg) as exc_info:
757
lock_type(str(lock_path), is_singleton=True, **altered_args)
758
exc_info.match(arg_name) # ensure specific non-matching argument is included in exception text
759
- del lock
+ del lock, exc_info
760
761
762
@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="del() does not trigger GC in PyPy")
0 commit comments