From e3b6dc87c23ce292683a9acf9bcc7fca02e17b7c 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(-) (limited to 'QMTest') diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py index 3b745f85..20f1f14d 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 v1.2.1