mirror of
https://github.com/beetbox/beets.git
synced 2026-01-14 20:24:36 +01:00
write to tempfile in binary in embedart test
This commit is contained in:
parent
61695edc3b
commit
4e4a919895
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class EmbedartCliTest(_common.TestCase, TestHelper):
|
|||
logging.getLogger('beets.embedart').setLevel(logging.DEBUG)
|
||||
|
||||
handle, tmp_path = tempfile.mkstemp()
|
||||
os.write(handle, u'I am not an image.')
|
||||
os.write(handle, b'I am not an image.')
|
||||
os.close(handle)
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue