parent
1579f94dc0
commit
8f9539226d
@ -1,19 +0,0 @@
|
||||
diff -up mutagen-1.31/tests/test__id3specs.py.endian mutagen-1.31/tests/test__id3specs.py
|
||||
--- mutagen-1.31/tests/test__id3specs.py.endian 2015-11-28 12:47:12.780003256 +0100
|
||||
+++ mutagen-1.31/tests/test__id3specs.py 2015-11-28 12:48:10.388035715 +0100
|
||||
@@ -102,8 +102,13 @@ class SpecSanityChecks(TestCase):
|
||||
# utf-16
|
||||
f.encoding = 1
|
||||
self.assertEqual(s.read(f, s.write(f, values)), (values, b""))
|
||||
- self.assertEquals(
|
||||
- s.write(f, [(u"A", 100)]), b"\xff\xfeA\x00\x00\x00\x00\x00\x00d")
|
||||
+ data = s.write(f, [(u"A", 100)])
|
||||
+ if sys.byteorder == 'little':
|
||||
+ self.assertEquals(
|
||||
+ data, b"\xff\xfeA\x00\x00\x00\x00\x00\x00d")
|
||||
+ else:
|
||||
+ self.assertEquals(
|
||||
+ data, b"\xfe\xff\x00A\x00\x00\x00\x00\x00d")
|
||||
|
||||
# utf-16be
|
||||
f.encoding = 2
|
Loading…
Reference in new issue