py3: fix test-journal.t

Summary: It now passes

Reviewed By: singhsrb

Differential Revision: D22651738

fbshipit-source-id: 24635ee344018574fd99e37781221fab82a2b4d7
This commit is contained in:
Durham Goode 2020-07-22 18:57:00 -07:00 committed by Facebook GitHub Bot
parent f36c5dda8d
commit b9d2e97a12

View File

@ -1,4 +1,3 @@
#require py2
#chg-compatible
Tests for the journal extension; records bookmark locations.
@ -17,7 +16,7 @@ Tests for the journal extension; records bookmark locations.
> time = float(timef.read()) + 1
> except IOError:
> time = 0.0
> with open(filename, 'wb') as timef:
> with open(filename, 'w') as timef:
> timef.write(str(time))
> return (time, 0)
>