mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
821179170a
commit
dec8572513
@ -479,9 +479,10 @@ class ReadingTest(BaseTest):
|
|||||||
'Standard field format: %s not the same for book %s' % (field, book_id))
|
'Standard field format: %s not the same for book %s' % (field, book_id))
|
||||||
def f(x):
|
def f(x):
|
||||||
try:
|
try:
|
||||||
return x['label']
|
x.pop('rec_index', None)
|
||||||
except:
|
except:
|
||||||
return x
|
pass
|
||||||
|
return x
|
||||||
if field not in {'#series_index'}:
|
if field not in {'#series_index'}:
|
||||||
v = pmi.get_standard_metadata(field)
|
v = pmi.get_standard_metadata(field)
|
||||||
self.assertTrue(v is None or isinstance(v, dict))
|
self.assertTrue(v is None or isinstance(v, dict))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user