diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-02-18 10:17:38 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-02-18 10:17:38 +0000 |
commit | 2dd6635be7cb3f07b818eeec45e64a0b795d4e87 (patch) | |
tree | afd4740cb7e114e935ba987e164dff7dcdc4a59a /morphlib/yamlparse_tests.py | |
parent | a859a3377f488ef11ebed2631dbd51b2aa82afe4 (diff) | |
parent | ed0385399dbd3cfffb9af5838456efbb9183bd48 (diff) | |
download | morph-2dd6635be7cb3f07b818eeec45e64a0b795d4e87.tar.gz |
Merge branch 'baserock/richardmaw/S10407/field-order'
Reviewed-by: Lars Wirzenius
Diffstat (limited to 'morphlib/yamlparse_tests.py')
-rw-r--r-- | morphlib/yamlparse_tests.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/morphlib/yamlparse_tests.py b/morphlib/yamlparse_tests.py index f5c2569b..38815168 100644 --- a/morphlib/yamlparse_tests.py +++ b/morphlib/yamlparse_tests.py @@ -1,4 +1,4 @@ -# Copyright (C) 2013 Codethink Limited +# Copyright (C) 2013-2014 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -41,14 +41,6 @@ build-system: manual ('build-system', 'manual'), ]) - def test_loads_as_ordered_dict(self): - m = yamlparse.load(self.example_text) - self.assertEqual(type(m), OrderedDict) - - def test_dumps_ordered_dicts(self): - self.assertEqual(self.example_text, - yamlparse.dump(self.example_dict)) - def test_non_map_raises(self): incorrect_type = '''\ !!map |