tests/f
changeset 40306 da1629c7dda1
parent 40246 be0a5d2d5c78
child 43691 47ef023d0165
--- a/tests/f	Sun Oct 14 08:55:30 2018 -0400
+++ b/tests/f	Sat Oct 13 04:20:22 2018 -0400
@@ -88,9 +88,11 @@
             if opts.newer:
                 # mtime might be in whole seconds so newer file might be same
                 if stat.st_mtime >= os.stat(opts.newer).st_mtime:
-                    facts.append(b'newer than %s' % opts.newer)
+                    facts.append(b'newer than %s' % opts.newer.encode(
+                        'utf8', 'replace'))
                 else:
-                    facts.append(b'older than %s' % opts.newer)
+                    facts.append(b'older than %s' % opts.newer.encode(
+                        'utf8', 'replace'))
         if opts.md5 and content is not None:
             h = hashlib.md5(content)
             facts.append(b'md5=%s' % binascii.hexlify(h.digest())[:opts.bytes])