From bb04d9ccdacdc5f4d7e35d096889dfc23748631e Mon Sep 17 00:00:00 2001 From: Daniel Moody Date: Sun, 23 Apr 2017 15:26:25 -0400 Subject: Test is failing on Windows 7 and Linux when PRESERVE is used. dirlist is saved as unicode, so printing it must also be unicode. Tested with py2 and py3. --- QMTest/TestCmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py index 3b745f8..20f1f14 100644 --- a/QMTest/TestCmd.py +++ b/QMTest/TestCmd.py @@ -987,7 +987,7 @@ class TestCmd(object): condition = self.condition if self._preserve[condition]: for dir in self._dirlist: - print("Preserved directory " + dir + "\n") + print(u"Preserved directory " + dir + "\n") else: list = self._dirlist[:] list.reverse() -- cgit v0.12