[pybsddb] `module 'test.support' has no attribute 'find_unused_port'` with python3.9
Michał Górny
mgorny at gentoo.org
Thu Jun 18 13:11:14 CEST 2020
Hello,
When running bsddb3 tests on py3.9, I get the following error:
======================================================================
ERROR: test01_basic_replication (bsddb3.tests.test_replication.DBReplicationManager)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.9/unittest/case.py", line 593, in run
self._callTestMethod(testMethod)
File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
method()
File "/tmp/portage/dev-python/bsddb3-6.2.7/work/bsddb3-6.2.7-python3_9/build/lib/bsddb3/tests/test_replication.py", line 108, in test01_basic_rep
lication
master_port = test_support.find_unused_port()
AttributeError: module 'test.support' has no attribute 'find_unused_port'
----------------------------------------------------------------------
FWICS upstream moved the relevant function to test.support.socket_helper
in 16994912c93e8e5db7365d48b75d67d3f70dd7b2.
--
Best regards,
Michał Górny
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.jcea.es/pipermail/pybsddb/attachments/20200618/2db99b84/attachment.bin>
More information about the pybsddb
mailing list