From e0baeade7924019c5bbd27d9a7c116a1e26854fc Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 22 Apr 2020 22:25:36 +0200 Subject: datacite: fix type error Up to now, we expected the description to be a string or list. Add handling for int as well. First appeared: Apr 22 19:58:39. --- python/tests/import_datacite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/tests/import_datacite.py') diff --git a/python/tests/import_datacite.py b/python/tests/import_datacite.py index 7fdd8230..c9210ea4 100644 --- a/python/tests/import_datacite.py +++ b/python/tests/import_datacite.py @@ -287,7 +287,7 @@ def test_datacite_conversions(datacite_importer): for now. """ datacite_importer.debug = True - for i in range(32): + for i in range(33): src = 'tests/files/datacite/datacite_doc_{0:02d}.json'.format(i) dst = 'tests/files/datacite/datacite_result_{0:02d}.json'.format(i) with open(src, 'r') as f: -- cgit v1.2.3