              _get_error_details({'nested': lazy_example})['nested'],
              ErrorDetail
          )
  
          self.assertEqual(
              _get_error_details([[lazy_example]])[0][0],
              example
          )
          assert isinstance(
              _get_error_details([[lazy_example]])[0][0],
              ErrorDetail
          )
  
 
</s> remove         self.assertEqual(
            _get_error_details(lazy_example),
            example
        )
 </s> add         assert _get_error_details(lazy_example) == example
 </s> remove         self.assertEqual(
            _get_error_details({'nested': lazy_example})['nested'],
            example
        )
 </s> add         assert _get_error_details({'nested': lazy_example})['nested'] == example

        assert _get_error_details([[lazy_example]])[0][0] == example

              _get_error_details({'nested': lazy_example})['nested'],
              ErrorDetail
          )
  
        assert _get_error_details([[lazy_example]])[0][0] == example

        assert _get_error_details([[lazy_example]])[0][0] == example

        assert _get_error_details([[lazy_example]])[0][0] == example

        assert _get_error_details([[lazy_example]])[0][0] == example

          assert isinstance(
              _get_error_details([[lazy_example]])[0][0],
              ErrorDetail
          )
  
keep keep keep keep replace replace replace replace keep keep keep keep keep
 converted asserts of exceptions test to pytest (#4723) 
tests/test_exceptions.py