change file mode

This commit is contained in:
Alexander 2018-03-30 10:09:22 +03:00
parent e304a0d501
commit 83a5f6e5b5

View File

@ -366,7 +366,7 @@ class TestColorLut3DFilter(PillowTestCase):
] * 3)
def test_from_cube_file_filename(self):
with NamedTemporaryFile() as f:
with NamedTemporaryFile('w+t') as f:
f.write(
"LUT_3D_SIZE 2\n"
"\n"