changeset 27056 | 01489fa0bbbe |
parent 24180 | d8e0c591781c |
child 28735 | 5edde05ff58e |
--- a/tests/test-context.py Mon Nov 16 14:37:03 2015 -0500 +++ b/tests/test-context.py Mon Nov 09 17:15:36 2015 -0500 @@ -16,7 +16,11 @@ repo[None].add(['foo']) repo.commit(text='commit1', date="0 0") -print "workingfilectx.date =", repo[None]['foo'].date() +if os.name == 'nt': + d = repo[None]['foo'].date() + print "workingfilectx.date = (%d, %d)" % (d[0], d[1]) +else: + print "workingfilectx.date =", repo[None]['foo'].date() # test memctx with non-ASCII commit message