Skip to content

Commit 10f91c2

Browse files
committed
test: Python2-compatible file writing
Fixes #862 (comment)
1 parent c6e3d5e commit 10f91c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_provenance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_directory_workflow(self):
9797
"b": "e9d71f5ee7c92d6dc9e92ffdad17b8bd49418f98",
9898
"c": "84a516841ba77a5b4648de2cd0dfcb30ea46dbb4",
9999
}
100-
for x in ("a", "b", "c"):
100+
for x in u"abc":
101101
# Make test files with predictable hashes
102102
with open(os.path.join(dir2, x), "w", encoding="ascii") as f:
103103
f.write(x)

0 commit comments

Comments
 (0)