'Test that failed parametrized tests with unmarshable parameters
don\'t break pytest-cache.'

def test_non_serializable_parametrize(self, testdir):

    testdir.makepyfile("\n                                                import    pytest\n\n                                                @pytest.mark.parametrize('val',    [\n                                                                b'\\xac\\x10\\x02G',\n                                                ])\n                                                def    test_fail(val):\n                                                                assert    False\n                                ")
    result = testdir.runpytest()
    result.stdout.fnmatch_lines('*1    failed    in*')
