From b7fd9b526d913ca705cd8e9a5b8fa0c4b9eea186 Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Mon, 27 Oct 2014 16:31:55 -0700 Subject: [PATCH] Fix typo in test_struct --- test/test_struct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_struct.py b/test/test_struct.py index a975074..f387aee 100644 --- a/test/test_struct.py +++ b/test/test_struct.py @@ -211,7 +211,7 @@ def test_to_dict_verbose(addressbook): def test_to_dict_ordered(addressbook): - person = addressbook.Person.new_message(**{'name': 'Alice', 'phones': [{'type': 'mobile', 'number': '555-1212'}], 'id': 123L, 'employment': {'school': 'MIT'}, 'email': 'alice@example.com'}) + person = addressbook.Person.new_message(**{'name': 'Alice', 'phones': [{'type': 'mobile', 'number': '555-1212'}], 'id': 123, 'employment': {'school': 'MIT'}, 'email': 'alice@example.com'}) if sys.version_info >= (2, 7): assert list(person.to_dict(ordered=True).keys()) == ['id', 'name', 'email', 'phones', 'employment']