Skip to content

Commit c596504

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8480bb6 commit c596504

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_pytest_mock.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ def __test_failure_message(self, mocker: MockerFixture, **kwargs: Any) -> None:
246246
msg = "Expected call: {0}()\nNot called"
247247
expected_message = msg.format(expected_name)
248248
stub = mocker.stub(**kwargs)
249-
with pytest.raises(AssertionError, match=re.escape(expected_message)) as exc_info:
249+
with pytest.raises(
250+
AssertionError, match=re.escape(expected_message)
251+
) as exc_info:
250252
stub.assert_called_with()
251253

252254
def test_failure_message_with_no_name(self, mocker: MagicMock) -> None:

0 commit comments

Comments
 (0)