remove a template test that doesn't test anything

@samspyo discovered that this test wasn't testing anything of value, so
we're dropping it.
This commit is contained in:
Johnny Robeson 2016-07-24 23:40:29 -04:00
parent 039825e0e0
commit 3275a511c2

View file

@ -17,8 +17,6 @@
"""
from __future__ import division, absolute_import, print_function
import warnings
from test._common import unittest
from beets.util import functemplate
import six
@ -213,13 +211,6 @@ class ParseTest(unittest.TestCase):
self._assert_call(arg_parts[0], u"bar", 1)
self.assertEqual(list(_normexpr(arg_parts[0].args[0])), [u'baz'])
def test_fail_on_utf8(self):
parts = u'é'.encode('utf8')
warnings.simplefilter("ignore")
with self.assertRaises(UnicodeDecodeError):
functemplate._parse(parts)
warnings.simplefilter("default")
class EvalTest(unittest.TestCase):
def _eval(self, template):