File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,15 +138,15 @@ def test_from_http_response_bad_json_content():
138
138
def test_from_http_response_json_unicode_content ():
139
139
response = make_response (
140
140
json .dumps (
141
- {"error" : {"message" : u "\u2019 message" , "errors" : ["1" , "2" ]}}
141
+ {"error" : {"message" : "\u2019 message" , "errors" : ["1" , "2" ]}}
142
142
).encode ("utf-8" )
143
143
)
144
144
145
145
exception = exceptions .from_http_response (response )
146
146
147
147
assert isinstance (exception , exceptions .NotFound )
148
148
assert exception .code == http .client .NOT_FOUND
149
- assert exception .message == u "POST https://example.com/: \u2019 message"
149
+ assert exception .message == "POST https://example.com/: \u2019 message"
150
150
assert exception .errors == ["1" , "2" ]
151
151
152
152
You can’t perform that action at this time.
0 commit comments