File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,19 +159,19 @@ def test_02_02_string_decode_for_encoding_none_behavior(self):
159
159
resp = self .con_encoding_none .eval ("return box.space.space_str:get('test_02_02')" )
160
160
self .assertSequenceEqual (resp , [[b'test_02_02' ]])
161
161
162
- def test_02_03_bytes_decode_for_encoding_utf8_behavior (self ):
162
+ def test_02_03_bytes_encode_for_encoding_utf8_behavior (self ):
163
163
self .assertNotRaises (
164
164
self .con_encoding_none .insert ,
165
165
'space_str' , [ b'test_02_03' ])
166
166
167
167
@skip_or_run_mp_bin_test
168
168
@skip_or_run_varbinary_test
169
169
def test_02_04_varbinary_decode_for_encoding_utf8_behavior (self ):
170
- self .con_encoding_utf8 .execute (r"""
170
+ self .con_encoding_none .execute (r"""
171
171
INSERT INTO "space_varbin" VALUES (204, x'DEADBEAF0204');
172
172
""" )
173
173
174
- resp = self .con_encoding_utf8 .execute (r"""
174
+ resp = self .con_encoding_none .execute (r"""
175
175
SELECT * FROM "space_varbin" WHERE "varbin" == x'DEADBEAF0204';
176
176
""" )
177
177
self .assertSequenceEqual (resp , [[204 , bytes (bytearray .fromhex ('DEADBEAF0204' ))]])
You can’t perform that action at this time.
0 commit comments