From cc56f2af169b163f668d6f8713b84add5b5dce88 Mon Sep 17 00:00:00 2001 From: sydney-runkle Date: Mon, 2 Oct 2023 15:06:19 -0500 Subject: [PATCH] moving assert outside of with context --- tests/validators/test_with_default.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/validators/test_with_default.py b/tests/validators/test_with_default.py index 5fff2cf38..d88303ff9 100644 --- a/tests/validators/test_with_default.py +++ b/tests/validators/test_with_default.py @@ -802,4 +802,5 @@ def _raise(ex: Exception) -> None: with pytest.raises(ValidationError) as exc_info: v.validate_python(input_value) - assert exc_info.value.errors(include_url=False, include_context=False) == expected + + assert exc_info.value.errors(include_url=False, include_context=False) == expected