8000 Don't use filecmp, image encoding is non-deterministic. · docent-net/python-docs-samples@3c2f742 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c2f742

Browse files
author
Jon Wayne Parrott
committed
Don't use filecmp, image encoding is non-deterministic.
1 parent 413a51a commit 3c2f742

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

appengine/flexible/scipy/main_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ def test_index():
3131
except OSError:
3232
pass # if doesn't exist
3333
r = client.get('/')
34-
assert filecmp.cmp(asset_path, fixtured_path)
34+
35+
assert os.path.isfile(fixtured_path)
3536
assert r.status_code == 200

0 commit comments

Comments
 (0)
0