Skip to content

Commit

Permalink
Use default UserWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
ewu63 authored Mar 22, 2024
1 parent e1f3207 commit e36655c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pyoptsparse/pyOpt_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@ def try_import_compiled_module_from_path(module_name: str, path: Optional[str] =
if path is not None:
warnings.warn(
f"{module_name} module could not be imported from {path}.",
ImportWarning,
stacklevel=2,
)
module = str(e)
Expand Down

0 comments on commit e36655c

Please sign in to comment.