From 857c99d3548f6e6972d2023c91f1f0861d091581 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 14 Feb 2013 12:17:23 +0100 Subject: [PATCH] fix py32 incompatible syntax --- testing/python/metafunc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/python/metafunc.py b/testing/python/metafunc.py index b9d46994a..60247212f 100644 --- a/testing/python/metafunc.py +++ b/testing/python/metafunc.py @@ -118,7 +118,7 @@ class TestMetafunc: (object(), object())]) assert result == ["a0-1.0", "a1-b1"] # unicode mixing, issue250 - result = idmaker((u"a", "b"), [({}, '\xc3\xb4')]) + result = idmaker((py.builtin._totext("a"), "b"), [({}, '\xc3\xb4')]) assert result == ['a0-\xc3\xb4']