Package: src:pymongo
Version: 3.10.0-2
Severity: serious
Tags: sid bullseye ftbfs
User: [email protected]
Usertags: python3.9
======================================================================
FAIL: test_instantiation (test_custom_types.TestBSONTypeEnDeCodecs)
----------------------------------------------------------------------
TypeError: Can't instantiate abstract class testcodec with abstract method
transform_python
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test/test_custom_types.py", line 270, in
test_instantiation
run_test(TypeEncoder, {'python_type': MyType,}, fail=True)
File "/<<PKGBUILDDIR>>/test/test_custom_types.py", line 263, in run_test
codec()
AssertionError: "Can't instantiate abstract class .* with abstract methods .*"
does not match "Can't instantiate abstract class testcodec with abstract method
transform_python"
----------------------------------------------------------------------
Ran 317 tests in 5.721s
FAILED (failures=1, skipped=125)
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1:
python3.9 setup.py test
dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.8" returned
exit code 13
make: *** [debian/rules:8: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2020-10-14T02:40:37Z
Finished
--------