From 8bde6afae0b21fae09ab104ae46d0698550f832b Mon Sep 17 00:00:00 2001 From: nesnoj Date: Fri, 11 Oct 2024 10:56:52 +0200 Subject: [PATCH] Fix deprecations warnings in tests #578 --- open_mastr/soap_api/download.py | 2 +- open_mastr/soap_api/mirror.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/open_mastr/soap_api/download.py b/open_mastr/soap_api/download.py index ff0537a1..dc96266c 100644 --- a/open_mastr/soap_api/download.py +++ b/open_mastr/soap_api/download.py @@ -466,7 +466,7 @@ def __init__(self, parallel_processes=None): multiprocessing package) choose False. Defaults to number of cores (including hyperthreading). """ - log.warn( + log.warning( """ The `MaStRDownload` class is deprecated and will not be maintained in the future. To get a full table of the Marktstammdatenregister, use the open_mastr.Mastr.download diff --git a/open_mastr/soap_api/mirror.py b/open_mastr/soap_api/mirror.py index 9dda3c6e..ad8e9722 100644 --- a/open_mastr/soap_api/mirror.py +++ b/open_mastr/soap_api/mirror.py @@ -99,7 +99,7 @@ def __init__( Number of parallel processes used to download additional data. Defaults to `None`. """ - log.warn( + log.warning( """ The `MaStRMirror` class is deprecated and will not be maintained in the future. To get a full table of the Marktstammdatenregister, use the open_mastr.Mastr.download