Codebase list pyxdg / e30208c
Rebuild patch queue from patch-queue Added patch: test-Use-importlib-instead-of-imp.patch Carsten Schoenert 1 year, 4 months ago
2 changed file(s) with 23 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11 gettext-support.patch
22 test-Skip-mimetype-symlink-tests.patch
33 Add-an-xdg-5-compatibility-layer.patch
4 test-Use-importlib-instead-of-imp.patch
0 From: Carsten Schoenert <c.schoenert@t-online.de>
1 Date: Sun, 11 Dec 2022 07:35:13 +0100
2 Subject: test: Use importlib instead of imp
3
4 The usage of imp is deprecated.
5 ---
6 test/test_basedirectory.py | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/test/test_basedirectory.py b/test/test_basedirectory.py
10 index 954f573..e62f923 100644
11 --- a/test/test_basedirectory.py
12 +++ b/test/test_basedirectory.py
13 @@ -9,7 +9,7 @@ import stat
14 try:
15 reload
16 except NameError:
17 - from imp import reload
18 + from importlib import reload
19
20 class BaseDirectoryTest(unittest.TestCase):
21 def setUp(self):