Skip to content

Commit c87c848

Browse files
committed
Update call to warnings
1 parent b68b914 commit c87c848

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parcels/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
__version__ = version
44

5-
import warnings
5+
import warnings as _warnings
66

77
from parcels.application_kernels import *
88
from parcels.field import *
@@ -14,7 +14,7 @@
1414
from parcels.particleset import *
1515
from parcels.tools import *
1616

17-
warnings.warn(
17+
_warnings.warn(
1818
"This is an alpha version of Parcels v4. The API is not stable and may change without deprecation warnings.",
1919
UserWarning,
2020
stacklevel=2,

0 commit comments

Comments
 (0)