diff --git a/setup.cfg b/setup.cfg index 73ea8553..b1b0a740 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,6 +13,8 @@ norecursedirs = lib .pc .git output cache resources testpaths = tests filterwarnings = ignore:.*XMLParser.*:DeprecationWarning +markers = + slow [isort] multi_line_output=3 diff --git a/src/ocrmypdf/_pipeline.py b/src/ocrmypdf/_pipeline.py index 71d5870e..5de49e33 100644 --- a/src/ocrmypdf/_pipeline.py +++ b/src/ocrmypdf/_pipeline.py @@ -721,7 +721,7 @@ def metadata_fixup(working_file, context): not_copied = set(meta_original.keys()) - set(meta.keys()) if not_copied: if options.output_type.startswith('pdfa'): - context.log.warn( + context.log.warning( "Some input metadata could not be copied because it is not " "permitted in PDF/A. You may wish to examine the output " "PDF's XMP metadata."