Skip to content

Commit 22e01b2

Browse files
author
Felix Marczinowski
committed
fix linter warnings
1 parent 44745ca commit 22e01b2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pandas/io/tests/json/test_json_norm.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,13 @@ def test_record_prefix(self):
168168

169169
def test_non_ascii_key(self):
170170
if pandas.compat.PY3:
171-
testjson = (b'[{"\xc3\x9cnic\xc3\xb8de":0,"sub":{"A":1, "B":2}},' + \
172-
b'{"\xc3\x9cnic\xc3\xb8de":1,"sub":{"A":3, "B":4}}]').decode('utf8')
171+
testjson = (
172+
b'[{"\xc3\x9cnic\xc3\xb8de":0,"sub":{"A":1, "B":2}},' +
173+
b'{"\xc3\x9cnic\xc3\xb8de":1,"sub":{"A":3, "B":4}}]'
174+
).decode('utf8')
173175
else:
174-
testjson = '[{"\xc3\x9cnic\xc3\xb8de":0,"sub":{"A":1, "B":2}},' \
175-
'{"\xc3\x9cnic\xc3\xb8de":1,"sub":{"A":3, "B":4}}]'
176+
testjson = ('[{"\xc3\x9cnic\xc3\xb8de":0,"sub":{"A":1, "B":2}},'
177+
'{"\xc3\x9cnic\xc3\xb8de":1,"sub":{"A":3, "B":4}}]')
176178

177179
testdata = {
178180
u'sub.A': [1, 3],

0 commit comments

Comments
 (0)