mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
feat: add global task framework (#36368)
This commit is contained in:
@@ -54,7 +54,7 @@ def test_json_loads_exception():
|
||||
|
||||
|
||||
def test_json_loads_encoding():
|
||||
unicode_data = b'{"a": "\u0073\u0074\u0072"}'
|
||||
unicode_data = rb'{"a": "\u0073\u0074\u0072"}'
|
||||
data = json.loads(unicode_data)
|
||||
assert data["a"] == "str"
|
||||
utf16_data = b'\xff\xfe{\x00"\x00a\x00"\x00:\x00 \x00"\x00s\x00t\x00r\x00"\x00}\x00'
|
||||
|
||||
Reference in New Issue
Block a user