Skip to content

Commit d6f1878

Browse files
committed
change FutureWarning to PendingDeprecatedWarning for error_components() and derivatives()
1 parent efc5056 commit d6f1878

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uncertainties/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def derivatives(self):
448448
warn(
449449
f"{self.__class__.__name__}.derivatives() is deprecated. It will "
450450
f"be removed in a future release.",
451-
FutureWarning,
451+
PendingDeprecationWarning,
452452
stacklevel=2,
453453
)
454454

@@ -481,7 +481,7 @@ def error_components(self):
481481
f"be replaced with an instance property by the same name. It will be "
482482
f"accessed by {self.__class__.__name__}.error_components (with no "
483483
f"parentheses).",
484-
FutureWarning,
484+
PendingDeprecationWarning,
485485
stacklevel=2,
486486
)
487487

0 commit comments

Comments
 (0)