File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -557,10 +557,10 @@ def get_config(self):
557
557
558
558
def __repr__ (self ):
559
559
return (
560
- '%s(encode_dtype=%s , decode_dtype=%s )' % (
560
+ '%s(encode_dtype=%r , decode_dtype=%r )' % (
561
561
type (self ).__name__ ,
562
- self .encode_dtype ,
563
- self .decode_dtype
562
+ self .encode_dtype . str ,
563
+ self .decode_dtype . str
564
564
)
565
565
)
566
566
Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ def test_decode_input(self):
347
347
348
348
def test_repr (self ):
349
349
codec = self .init_codec (encode_dtype = 'i4' , decode_dtype = 'i8' )
350
- expect = ' AsType(encode_dtype=int32 , decode_dtype=int64)'
350
+ expect = " AsType(encode_dtype='<i4' , decode_dtype='<i8')"
351
351
actual = repr (codec )
352
352
eq (expect , actual )
353
353
You can’t perform that action at this time.
0 commit comments