[Python-modules-team] Bug#891753: python-django FTBFS: ERROR: test_load_empty_dir (migrations.test_loader.LoaderTests)
Adrian Bunk
bunk at debian.org
Wed Feb 28 14:18:15 UTC 2018
Source: python-django
Version: 1:1.11.10-1
Severity: serious
Control: found -1 2:2.0.2-1
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-django.html
...
======================================================================
ERROR: test_load_empty_dir (migrations.test_loader.LoaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.6/unittest/case.py", line 605, in run
testMethod()
File "/build/1st/python-django-1.11.10/tests/migrations/test_loader.py", line 178, in test_load_empty_dir
loader = MigrationLoader(connection)
File "/build/1st/python-django-1.11.10/django/db/migrations/loader.py", line 52, in __init__
self.build_graph()
File "/build/1st/python-django-1.11.10/django/db/migrations/loader.py", line 203, in build_graph
self.load_disk()
File "/build/1st/python-django-1.11.10/django/db/migrations/loader.py", line 104, in load_disk
directory = os.path.dirname(module.__file__)
File "/usr/lib/python3.6/posixpath.py", line 156, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
----------------------------------------------------------------------
Ran 11584 tests in 171.304s
More information about the Python-modules-team
mailing list