Skip to content

Commit

Permalink
Fixed next py26 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
siebenkopf committed Sep 17, 2015
1 parent e16c0b7 commit f035a5a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bob/measure/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ def _check_binary_identical(name1, name2):
else:
from hashlib import md5
# tests if two files are binary identical
with open(name1,'rb') as f1, open(name2,'rb') as f2:
assert md5(f1.read()).digest() == md5(f2.read()).digest()
with open(name1,'rb') as f1:
with open(name2,'rb') as f2:
assert md5(f1.read()).digest() == md5(f2.read()).digest()


def test_convert_openbr():
Expand Down

0 comments on commit f035a5a

Please sign in to comment.