mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-25 10:48:18 +00:00
Fix decode error
This commit is contained in:
@@ -13,7 +13,7 @@ from picard.util import bytes2human
|
||||
class Testbytes2human(unittest.TestCase):
|
||||
def setUp(self):
|
||||
# we are using temporary locales for tests
|
||||
self.tmp_path = tempfile.mkdtemp().decode("utf-8")
|
||||
self.tmp_path = tempfile.mkdtemp()
|
||||
if sys.hexversion >= 0x020700F0:
|
||||
self.addCleanup(shutil.rmtree, self.tmp_path)
|
||||
self.localedir = os.path.join(self.tmp_path, 'locale')
|
||||
|
||||
Reference in New Issue
Block a user