From e6f08cf93edd2bb1f04bd754dc001e7f51edf4f9 Mon Sep 17 00:00:00 2001 From: Seo Sanghyeon Date: Fri, 26 Apr 2019 06:29:01 +0900 Subject: [PATCH] Enable dict round trip test for json --- tests/snippets/json_snippet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/snippets/json_snippet.py b/tests/snippets/json_snippet.py index 917556a47..224fde8ca 100644 --- a/tests/snippets/json_snippet.py +++ b/tests/snippets/json_snippet.py @@ -25,8 +25,7 @@ assert '[[1]]' == json.dumps(((1,),)) assert [1, "string", 1.0, True] == json.loads(json.dumps((1, "string", 1.0, True))) assert '{}' == json.dumps({}) -# TODO: uncomment once dict comparison is implemented -# round_trip_test({'a': 'b'}) +round_trip_test({'a': 'b'}) assert 1 == json.loads("1") assert -1 == json.loads("-1")