Skip to content

Commit 8c7bee8

Browse files
author
esblinov
committed
Use full_match.match in test_lock
1 parent 7e9112d commit 8c7bee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/units/locks/smart_lock/test_lock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
from threading import Thread, Lock
44

55
import pytest
6-
import full_match
6+
from full_match import match
77

88
from locklib import SmartLock, DeadLockError
99

1010

1111
def test_release_unlocked():
1212
lock = SmartLock()
1313

14-
with pytest.raises(RuntimeError, match=full_match('Release unlocked lock.')):
14+
with pytest.raises(RuntimeError, match=match('Release unlocked lock.')):
1515
lock.release()
1616

1717

0 commit comments

Comments
 (0)