@@ -52,7 +52,7 @@ def test_categorical_index_repr_unicode_multiline(self):
52
52
expected = """CategoricalIndex(['あ', 'いい', 'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう', 'あ',
53
53
'いい', 'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい',
54
54
'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう'],
55
- categories=['あ', 'いい', 'ううう'], ordered=False, dtype='category')""" # noqa: E501
55
+ categories=['あ', 'いい', 'ううう'], ordered=False, dtype='category')""" # noqa: E501# noqa: E501
56
56
assert repr (idx ) == expected
57
57
58
58
def test_categorical_index_repr_unicode_truncated (self ):
@@ -61,7 +61,7 @@ def test_categorical_index_repr_unicode_truncated(self):
61
61
expected = """CategoricalIndex(['あ', 'いい', 'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう', 'あ',
62
62
...
63
63
'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう'],
64
- categories=['あ', 'いい', 'ううう'], ordered=False, dtype='category', length=300)""" # noqa: E501
64
+ categories=['あ', 'いい', 'ううう'], ordered=False, dtype='category', length=300)""" # noqa: E501# noqa: E501
65
65
assert repr (idx ) == expected
66
66
67
67
def test_categorical_index_repr_unicode_many_categories (self ):
@@ -70,6 +70,7 @@ def test_categorical_index_repr_unicode_many_categories(self):
70
70
expected = """CategoricalIndex(['あ', 'い', 'う', 'え', 'お', 'か', 'き', 'く', 'け', 'こ', 'さ', 'し',
71
71
'す', 'せ', 'そ'],
72
72
categories=['あ', 'い', 'う', 'え', ..., 'し', 'す', 'せ', 'そ'], ordered=False, dtype='category')""" # noqa: E501
73
+ # noqa: E501
73
74
assert repr (idx ) == expected
74
75
75
76
def test_categorical_index_repr_east_asian_width (self ):
@@ -87,7 +88,7 @@ def test_categorical_index_repr_east_asian_width_multiline(self):
87
88
'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう',
88
89
'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい',
89
90
'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう'],
90
- categories=['あ', 'いい', 'ううう'], ordered=False, dtype='category')""" # noqa: E501
91
+ categories=['あ', 'いい', 'ううう'], ordered=False, dtype='category')""" # noqa: E501# noqa: E501
91
92
92
93
assert repr (idx ) == expected
93
94
@@ -100,7 +101,7 @@ def test_categorical_index_repr_east_asian_width_truncated(self):
100
101
...
101
102
'ううう', 'あ', 'いい', 'ううう', 'あ', 'いい', 'ううう',
102
103
'あ', 'いい', 'ううう'],
103
- categories=['あ', 'いい', 'ううう'], ordered=False, dtype='category', length=300)""" # noqa: E501
104
+ categories=['あ', 'いい', 'ううう'], ordered=False, dtype='category', length=300)""" # noqa: E501# noqa: E501
104
105
105
106
assert repr (idx ) == expected
106
107
@@ -110,5 +111,6 @@ def test_categorical_index_repr_east_asian_width_many_categories(self):
110
111
expected = """CategoricalIndex(['あ', 'い', 'う', 'え', 'お', 'か', 'き', 'く', 'け', 'こ',
111
112
'さ', 'し', 'す', 'せ', 'そ'],
112
113
categories=['あ', 'い', 'う', 'え', ..., 'し', 'す', 'せ', 'そ'], ordered=False, dtype='category')""" # noqa: E501
114
+ # noqa: E501
113
115
114
116
assert repr (idx ) == expected
0 commit comments