Skip to content

Commit 0b3502d

Browse files
committed
Add the r for reading
1 parent 14a646e commit 0b3502d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_attrib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ def test_lic_key_name_sync(self):
118118
errors, abouts = model.collect_inventory(test_file)
119119
attrib.generate_and_save(abouts, output_file, template_loc)
120120

121-
with open(output_file) as of:
121+
with open(output_file, 'r') as of:
122122
f1 = '\n'.join(of.readlines(False))
123-
with open(expected) as ef:
123+
with open(expected, 'r') as ef:
124124
f2 = '\n'.join(ef.readlines(False))
125125

126126
assert f1 == f2

0 commit comments

Comments
 (0)