[Python-modules-team] Bug#968577: python-django DEP-8 test failure
Lucas Kanashiro
kanashiro at debian.org
Mon Aug 17 22:15:16 BST 2020
Source: python-django
Version: 2:2.2.15-1
Severity: normal
Dear Maintainer,
The DEP-8 tests have been failing for a while:
https://ci.debian.net/packages/p/python-django/
At the moment this is the failure:
======================================================================
ERROR: test_i18n_app_dirs (i18n.tests.WatchForTranslationChangesTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.XjvsW0/autopkgtest_tmp/tests/i18n/tests.py",
line 1884, in test_i18n_app_dirs
with self.settings(INSTALLED_APPS=['tests.i18n.sampleproject']):
File "/usr/lib/python3/dist-packages/django/test/utils.py", line 338,
in __enter__
return self.enable()
File "/usr/lib/python3/dist-packages/django/test/utils.py", line 402,
in enable
apps.set_installed_apps(self.options['INSTALLED_APPS'])
File "/usr/lib/python3/dist-packages/django/apps/registry.py", line
353, in set_installed_apps
self.populate(installed)
File "/usr/lib/python3/dist-packages/django/apps/registry.py", line
91, in populate
app_config = AppConfig.create(entry)
File "/usr/lib/python3/dist-packages/django/apps/config.py", line 116,
in create
mod = import_module(mod_path)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tests'
--
Lucas Kanashiro
More information about the Python-modules-team
mailing list