Skip to content

Commit

Permalink
Merge pull request #390 from simpeg/prisae-patch-1
Browse files Browse the repository at this point in the history
Fix formatting new warning
  • Loading branch information
jcapriot authored Jan 28, 2025
2 parents bc3e78d + 68f456f commit 314a675
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions discretize/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def _warn_random_test():
if in_pytest or in_nosetest:
test = "pytest" if in_pytest else "nosetest"
warnings.warn(
f"You are running a {test} without setting a random seed, the results might not be"
"repeatable. For repeatable tests please pass an argument to `random seed` that is"
"not `None`.",
f"You are running a {test} without setting a random seed, the results might not "
"be repeatable. For repeatable tests please pass an argument to `random seed` "
"that is not `None`.",
UserWarning,
stacklevel=3,
)
Expand Down

0 comments on commit 314a675

Please sign in to comment.