mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
py3: fix test-journal.t
Summary: It now passes Reviewed By: singhsrb Differential Revision: D22651738 fbshipit-source-id: 24635ee344018574fd99e37781221fab82a2b4d7
This commit is contained in:
parent
f36c5dda8d
commit
b9d2e97a12
@ -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)
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user