docstr: Test that failed parametrized tests with unmarshable parameters
  don't break pytest-cache.
docstr_tok: ["Test","that","failed","parametrized","tests","with","unmarshable","parameters","do","n't","break","pytest-cache","."]
code: def test_non_serializable_parametrize(
      self, pytester: Pytester
  ) -> None:
      """Test that failed parametrized tests with unmarshable parameters
      don't break pytest-cache.
      """
      pytester.makepyfile(
          r"""
              import pytest
  
              @pytest.mark.parametrize('val', [
                  b'\xac\x10\x02G',
              ])
              def test_fail(val):
                  assert False
          """
      )
      result = pytester.runpytest()
      result.stdout.fnmatch_lines(["*1 failed in*"])
  
imports: import os
  import shutil
  from pathlib import Path
  from typing import Generator
  from typing import List
  import pytest
  from _pytest.config import ExitCode
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.pytester import Pytester
  from _pytest.tmpdir import TempPathFactory
label_desc: Use image node_id 7 for calling the TestLastFailed obj's underlying member method code with example usage: obj.test_non_serializable_parametrize(pytester) without return types