Skip to content

Commit

Permalink
MNT: improve warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusStano committed Nov 29, 2023
1 parent 04b751d commit 438f4c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rocketpy/environment/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -3133,7 +3133,8 @@ def all_plot_info_returned(self):
"""
warnings.warn(
"The method 'all_plot_info_returned' is deprecated. "
"The method 'all_plot_info_returned' is deprecated as of version "
+ "1.2 and will be removed in version 1.4 "
+ "Use 'utilities.get_instance_attributes' instead.",
DeprecationWarning,
)
Expand Down Expand Up @@ -3205,7 +3206,8 @@ def all_info_returned(self):
"""
warnings.warn(
"The method 'all_info_returned' is deprecated. "
"The method 'all_info_returned' is deprecated as of version "
+ "1.2 and will be removed in version 1.4 "
+ "Use 'utilities.get_instance_attributes' instead.",
DeprecationWarning,
)
Expand Down

0 comments on commit 438f4c0

Please sign in to comment.