Skip to content

Commit 954c0d9

Browse files
author
Dorian Birraux
committed
Warning should be displayed once and for all
1 parent 75fb0c7 commit 954c0d9

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)