Skip to content

Commit 76a1819

Browse files
Dorian BirrauxRaj Balaebail
authored andcommitted
Warning should be displayed once and for all
1 parent 6ca576e commit 76a1819

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wolframclient/utils/lock.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ def Lock():
1818

1919
from contextlib import contextmanager
2020

21+
warnings.warn("Lock is not implemented in the current interpreter.", RuntimeWarning)
22+
2123
@contextmanager
2224
def Lock():
23-
warnings.warn("Lock is not implemented in the current interpreter.", RuntimeWarning)
2425
yield

0 commit comments

Comments
 (0)