'Test parametrization with values that contain null bytes and unicode characters (#2644)'

def test_parametrized_with_null_bytes(self, testdir):

    p = testdir.makepyfile(u'\n                                                #    encoding:    UTF-8\n                                                import    pytest\n\n                                                @pytest.mark.parametrize("data",    ["\\x00",    u\'a\xe7\xe3o\'])\n                                                def    test_foo(data):\n                                                                assert    data\n                                ')
    res = testdir.runpytest(p)
    res.assert_outcomes(passed=2)
