We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac918cc commit 0fc757bCopy full SHA for 0fc757b
Lib/test/test_importlib/resources/util.py
@@ -145,7 +145,7 @@ def test_useless_loader(self):
145
data01={
146
'__init__.py': '',
147
'binary.file': bytes(range(4)),
148
- 'utf-16.file': 'Hello, UTF-16 world!\n'.encode('utf-16'),
+ 'utf-16.file': 'Hello, UTF-16 world!\n'.encode('utf-16-le'),
149
'utf-8.file': 'Hello, UTF-8 world!\n'.encode('utf-8'),
150
'subdirectory': {
151
@@ -160,7 +160,7 @@ def test_useless_loader(self):
160
},
161
namespacedata01={
162
163
164
165
166
'binary.file': bytes(range(12, 16)),
0 commit comments