Skip to content

Commit

Permalink
Catching returned file descriptor number
Browse files Browse the repository at this point in the history
  • Loading branch information
reinout committed Dec 3, 2018
1 parent 890a200 commit 7a5ec20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zest/releaser/tests/utils.txt
Expand Up @@ -763,7 +763,7 @@ example works:
>>> import tempfile
>>> _, example_filename = tempfile.mkstemp()
>>> with open(example_filename, 'wb') as f:
... f.write(u'# -*- coding: utf-8 -*-\nblaá'.encode('utf-8'))
... _ = f.write(u'# -*- coding: utf-8 -*-\nblaá'.encode('utf-8'))
>>> contents, encoding = utils.read_text_file(example_filename)
>>> 'bla' in contents
True
Expand Down

0 comments on commit 7a5ec20

Please sign in to comment.