File tree 1 file changed +2
-2
lines changed
Lib/test/test_importlib/resources
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ def test_useless_loader(self):
145
145
data01 = {
146
146
'__init__.py' : '' ,
147
147
'binary.file' : bytes (range (4 )),
148
- 'utf-16.file' : 'Hello , UTF-16 world!\n ' .encode ('utf-16' ),
148
+ 'utf-16.file' : '\ufeff Hello , UTF-16 world!\n ' .encode ('utf-16-le ' ),
149
149
'utf-8.file' : 'Hello, UTF-8 world!\n ' .encode ('utf-8' ),
150
150
'subdirectory' : {
151
151
'__init__.py' : '' ,
@@ -160,7 +160,7 @@ def test_useless_loader(self):
160
160
},
161
161
namespacedata01 = {
162
162
'binary.file' : bytes (range (4 )),
163
- 'utf-16.file' : 'Hello , UTF-16 world!\n ' .encode ('utf-16' ),
163
+ 'utf-16.file' : '\ufeff Hello , UTF-16 world!\n ' .encode ('utf-16-le ' ),
164
164
'utf-8.file' : 'Hello, UTF-8 world!\n ' .encode ('utf-8' ),
165
165
'subdirectory' : {
166
166
'binary.file' : bytes (range (12 , 16 )),
You can’t perform that action at this time.
0 commit comments