Package: src:python-multidict
Version: 4.5.2-1
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8
test failures when running the tests with python3.8:
=================================== FAILURES ===================================
_______________________ test_load_from_file[MultiDict-5] _______________________
pickle_protocol = 5, cls_name = 'MultiDict'
def test_load_from_file(pickle_protocol, cls_name):
cls = globals()[cls_name]
d = cls([('a', 1), ('a', 2)])
fname = '{}.pickle.{}'.format(cls_name.lower(), pickle_protocol)
p = here / fname
> with p.open('rb') as f:
tests/test_pickle.py:113:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/pathlib.py:1200: in open
return io.open(self, mode, buffering, encoding, errors, newline,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self =
PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/multidict.pickle.5')
name =
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/multidict.pickle.5'
flags = 524288, mode = 438
def _opener(self, name, flags, mode=0o666):
# A stub for the opener argument to built-in open()
> return self._accessor.open(self, flags, mode)
E FileNotFoundError: [Errno 2] No such file or directory:
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/multidict.pickle.5'
/usr/lib/python3.8/pathlib.py:1054: FileNotFoundError
______________________ test_load_from_file[CIMultiDict-5] ______________________
pickle_protocol = 5, cls_name = 'CIMultiDict'
def test_load_from_file(pickle_protocol, cls_name):
cls = globals()[cls_name]
d = cls([('a', 1), ('a', 2)])
fname = '{}.pickle.{}'.format(cls_name.lower(), pickle_protocol)
p = here / fname
> with p.open('rb') as f:
tests/test_pickle.py:113:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/pathlib.py:1200: in open
return io.open(self, mode, buffering, encoding, errors, newline,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self =
PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/cimultidict.pickle.5')
name =
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/cimultidict.pickle.5'
flags = 524288, mode = 438
def _opener(self, name, flags, mode=0o666):
# A stub for the opener argument to built-in open()
> return self._accessor.open(self, flags, mode)
E FileNotFoundError: [Errno 2] No such file or directory:
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/cimultidict.pickle.5'
/usr/lib/python3.8/pathlib.py:1054: FileNotFoundError
______________________ test_load_from_file[PyMultiDict-5] ______________________
pickle_protocol = 5, cls_name = 'PyMultiDict'
def test_load_from_file(pickle_protocol, cls_name):
cls = globals()[cls_name]
d = cls([('a', 1), ('a', 2)])
fname = '{}.pickle.{}'.format(cls_name.lower(), pickle_protocol)
p = here / fname
> with p.open('rb') as f:
tests/test_pickle.py:113:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/pathlib.py:1200: in open
return io.open(self, mode, buffering, encoding, errors, newline,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self =
PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/pymultidict.pickle.5')
name =
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/pymultidict.pickle.5'
flags = 524288, mode = 438
def _opener(self, name, flags, mode=0o666):
# A stub for the opener argument to built-in open()
> return self._accessor.open(self, flags, mode)
E FileNotFoundError: [Errno 2] No such file or directory:
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/pymultidict.pickle.5'
/usr/lib/python3.8/pathlib.py:1054: FileNotFoundError
_____________________ test_load_from_file[PyCIMultiDict-5] _____________________
pickle_protocol = 5, cls_name = 'PyCIMultiDict'
def test_load_from_file(pickle_protocol, cls_name):
cls = globals()[cls_name]
d = cls([('a', 1), ('a', 2)])
fname = '{}.pickle.{}'.format(cls_name.lower(), pickle_protocol)
p = here / fname
> with p.open('rb') as f:
tests/test_pickle.py:113:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/pathlib.py:1200: in open
return io.open(self, mode, buffering, encoding, errors, newline,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self =
PosixPath('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/pycimultidict.pickle.5')
name =
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/pycimultidict.pickle.5'
flags = 524288, mode = 438
def _opener(self, name, flags, mode=0o666):
# A stub for the opener argument to built-in open()
> return self._accessor.open(self, flags, mode)
E FileNotFoundError: [Errno 2] No such file or directory:
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build/tests/pycimultidict.pickle.5'
/usr/lib/python3.8/pathlib.py:1054: FileNotFoundError
===================== 4 failed, 692 passed in 1.36 seconds =====================
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_multidict/build; python3.8 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.8 3.7"
returned exit code 13