We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e9112d commit 8c7bee8Copy full SHA for 8c7bee8
tests/units/locks/smart_lock/test_lock.py
@@ -3,15 +3,15 @@
3
from threading import Thread, Lock
4
5
import pytest
6
-import full_match
+from full_match import match
7
8
from locklib import SmartLock, DeadLockError
9
10
11
def test_release_unlocked():
12
lock = SmartLock()
13
14
- with pytest.raises(RuntimeError, match=full_match('Release unlocked lock.')):
+ with pytest.raises(RuntimeError, match=match('Release unlocked lock.')):
15
lock.release()
16
17
0 commit comments