mirror of
https://github.com/beetbox/beets.git
synced 2026-01-02 14:03:12 +01:00
simplified condition in test and added changelog entry
This commit is contained in:
parent
832c7326af
commit
fbd1266bc5
2 changed files with 4 additions and 1 deletions
|
|
@ -166,6 +166,9 @@ Fixes:
|
|||
* Added a warning when configuration files defined in the `include` directive
|
||||
of the configuration file fail to be imported.
|
||||
:bug:`3498`
|
||||
* Added the normalize method to the dbcore.types.INTEGER class which now
|
||||
properly returns integer values.
|
||||
:bug:`762` and :bug:`3507`
|
||||
|
||||
For plugin developers:
|
||||
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ class PluralityTest(_common.TestCase):
|
|||
for i in range(5)]
|
||||
likelies, _ = match.current_metadata(items)
|
||||
for f in fields:
|
||||
if type(items[0]._fields[f]) in (Integer, PaddedInt):
|
||||
if isinstance(likelies[f], int):
|
||||
self.assertEqual(likelies[f], 0)
|
||||
else:
|
||||
self.assertEqual(likelies[f], '%s_1' % f)
|
||||
|
|
|
|||
Loading…
Reference in a new issue