From 858340b2c2faf1519bef7a9e855c633cc32ff66d Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Sat, 25 May 2019 17:51:49 +0800 Subject: [PATCH] bpo-34632: fix test_importlib with installed CPython "Installed" builders on buildbot.python.org [1] run tests on an installed CPython copy [2]. Running tests in this way requires all testing data also installed. This commit fixes the following error during running tests on an installed copy: ModuleNotFoundError: No module named 'test.test_importlib.data' [1] https://buildbot.python.org/all/#/builders?tags=%2Binstalled&tags=%2B3.x [2] https://github.com/python/buildmaster-config/blob/master/master/custom/factories.py --- Makefile.pre.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.pre.in b/Makefile.pre.in index 925d52f7894e11..ee94ad54a272e5 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1323,6 +1323,7 @@ LIBSUBDIRS= tkinter tkinter/test tkinter/test/test_tkinter \ importlib/metadata \ test/test_importlib \ test/test_importlib/builtin \ + test/test_importlib/data \ test/test_importlib/data01 \ test/test_importlib/data01/subdirectory \ test/test_importlib/data02 \