commit c75e074b88a9e56b71b072822ff8d2247fffeef4
parent 411832c4ce268cab388fac06c019a14940867dab
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 6 Mar 2017 08:44:38 +0100
fix another travis test
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/tests/test_wallet.py b/lib/tests/test_wallet.py
@@ -42,7 +42,7 @@ class TestWalletStorage(WalletTestCase):
def test_read_dictionnary_from_file(self):
some_dict = {"a":"b", "c":"d"}
- contents = repr(some_dict)
+ contents = json.dumps(some_dict)
with open(self.wallet_path, "w") as f:
contents = f.write(contents)