diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-09-24 09:53:24 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-05-12 18:48:29 +0200 |
commit | 83d822e6294e1af180da55eae13303f85d537ace (patch) | |
tree | f3a8c0f607f69df9b2ca320c076a9996bcba985b /solenv/gdb/libreoffice/util | |
parent | vcl: disable timer test (never succeeded for me on Linux) (diff) | |
download | core-83d822e6294e1af180da55eae13303f85d537ace.tar.gz core-83d822e6294e1af180da55eae13303f85d537ace.zip |
Fix Python deprecation warnings
I noticed these "DeprecationWarning: Using or importing the ABCs from
'collections' instead of from 'collections.abc' is deprecated since Python 3.3,
and in 3.9 it will stop working" now when running tests with
CPPUNITTRACE='gdb --args' on Fedora 32.
Change-Id: If263dacb9df5c1fffd2be2418e13e69b96070c77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103294
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit 4a899a5f8a72ea29a6919316afe3627de9f33e95)
Diffstat (limited to 'solenv/gdb/libreoffice/util')
-rw-r--r-- | solenv/gdb/libreoffice/util/printing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gdb/libreoffice/util/printing.py b/solenv/gdb/libreoffice/util/printing.py index 9cbae3080a64..7ce29899355a 100644 --- a/solenv/gdb/libreoffice/util/printing.py +++ b/solenv/gdb/libreoffice/util/printing.py @@ -7,7 +7,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -from collections import Mapping +from collections.abc import Mapping import gdb import re import six |