From 79e01cd22fd760e0a7489fbd6e8c2af993c9623f Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Mon, 25 Jun 2018 21:24:51 -0500 Subject: [PATCH] Remove obsolete tests The hacks that these tested are no longer in place --- tests/unit/utils/test_yamlloader.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/tests/unit/utils/test_yamlloader.py b/tests/unit/utils/test_yamlloader.py index aa25ec472c..4222b30260 100644 --- a/tests/unit/utils/test_yamlloader.py +++ b/tests/unit/utils/test_yamlloader.py @@ -138,29 +138,6 @@ class YamlLoaderTestCase(TestCase): v2: beta v2: betabeta''')) - def test_yaml_with_unicode_literals(self): - ''' - Test proper loading of unicode literals - ''' - self.assert_matches( - self.render_yaml(textwrap.dedent('''\ - foo: - a: Д - b: {'a': u'\\u0414'}''')), - {'foo': {'a': u'\u0414', 'b': {'a': u'\u0414'}}} - ) - - def test_yaml_with_colon_in_inline_dict(self): - ''' - Test proper loading of unicode literal strings in inline dicts - ''' - self.assert_matches( - self.render_yaml(textwrap.dedent('''\ - foo: - b: {u'c': u'https://foo.com'}''')), - {'foo': {'b': {'c': 'https://foo.com'}}} - ) - def test_yaml_with_plain_scalars(self): ''' Test that plain (i.e. unqoted) string and non-string scalars are