mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 17:43:52 +01:00
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:
parent
039825e0e0
commit
3275a511c2
1 changed files with 0 additions and 9 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue