From e28a698c0eb7976c4ab51c44b3f5f4e94e90f6d3 Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Sun, 24 Feb 2013 10:11:34 +0000 Subject: [PATCH] Change filter testcases python3 open wrapper to utf-8 --- testcases/filtertestcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/filtertestcase.py b/testcases/filtertestcase.py index 8ab3fca8..e8f19260 100644 --- a/testcases/filtertestcase.py +++ b/testcases/filtertestcase.py @@ -40,7 +40,7 @@ from server.failmanager import FailManagerEmpty # if sys.version_info >= (3,): - open_ = functools.partial(open, errors='ignore') + open_ = functools.partial(open, encoding='utf-8', errors='ignore') else: open_ = open