Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 16, 2024
1 parent 17e8757 commit af1aa74
Show file tree
Hide file tree
Showing 2 changed files with 618 additions and 276 deletions.
4 changes: 2 additions & 2 deletions pyiron_base/_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ class PyironTestCase(unittest.TestCase, ABC):
def setUp(self):
self.addTypeEqualityFunc(np.ndarray, self._assert_equal_numpy)

def _assert_equal_numpy(self, a, b, msg=''):
def _assert_equal_numpy(self, a, b, msg=""):
try:
np.testing.assert_array_equal(a, b, err_msg=msg if msg is not None else '')
np.testing.assert_array_equal(a, b, err_msg=msg if msg is not None else "")
except AssertionError as e:
raise self.failureException(*e.args) from None

Expand Down
Loading

0 comments on commit af1aa74

Please sign in to comment.