-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fail #578
Comments
Some of them looks new:
|
@olegsidorkin: yes, some of the test failures/successes have changed when |
And what is the preferred way to test |
I may eventually make sure |
I have very simillar resul with python 3.8.16 + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-dill-0.3.6-3.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-dill-0.3.6-3.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network'
============================= test session starts ==============================
platform linux -- Python 3.8.16, pytest-7.2.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/dill-dill-0.3.6
collected 83 items / 5 errors
==================================== ERRORS ====================================
__________________ ERROR collecting dill/tests/test_module.py __________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/dill-dill-0.3.6/dill/tests/test_module.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dill/tests/test_module.py:11: in <module>
import test_mixins as module
dill/__diff.py:220: in _imp
mod = __import__(*args, **kwds)
E ModuleNotFoundError: No module named 'test_mixins'
_________________ ERROR collecting dill/tests/test_objects.py __________________
dill/tests/test_objects.py:20: in <module>
load_types(pickleable=True,unpickleable=False)
dill/__init__.py:72: in load_types
from . import _objects
dill/__diff.py:223: in _imp
memorise(sys.modules[m])
dill/__diff.py:111: in memorise
[mem(value) for key, value in g.items()]
dill/__diff.py:111: in <listcomp>
[mem(value) for key, value in g.items()]
dill/__diff.py:115: in memorise
[(mem(key), mem(item))
dill/__diff.py:115: in <listcomp>
[(mem(key), mem(item))
dill/__diff.py:91: in memorise
g = get_attrs(obj)
dill/__diff.py:44: in get_attrs
return getattr(obj, '__dict__', None)
E ReferenceError: weakly-referenced object no longer exists
________________ ERROR collecting dill/tests/test_registered.py ________________
dill/tests/test_registered.py:35: in <module>
raise e from None
dill/tests/test_registered.py:32: in <module>
assert not bool(success)
E AssertionError: assert not True
E + where True = bool(['PrettyPrinterType', 'StreamHandlerType'])
------------------------------- Captured stdout --------------------------------
SUCCESS: ['PrettyPrinterType', 'StreamHandlerType']
_________________ ERROR collecting dill/tests/test_selected.py _________________
dill/tests/test_selected.py:46: in <module>
objects['TemporaryFileType'].close()
E OSError: [Errno 9] Bad file descriptor
_________________ ERROR collecting dill/tests/test_session.py __________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/dill-dill-0.3.6/dill/tests/test_session.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dill/tests/test_session.py:72: in <module>
import test_dictviews as local_mod # non-builtin top-level module
dill/__diff.py:220: in _imp
mod = __import__(*args, **kwds)
E ModuleNotFoundError: No module named 'test_dictviews'
=========================== short test summary info ============================
ERROR dill/tests/test_module.py
ERROR dill/tests/test_objects.py - ReferenceError: weakly-referenced object n...
ERROR dill/tests/test_registered.py - AssertionError: assert not True
ERROR dill/tests/test_selected.py - OSError: [Errno 9] Bad file descriptor
ERROR dill/tests/test_session.py
!!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 5 errors in 0.90s =============================== |
gentle ping .. any update? 🤔 |
No update. |
Version: 0.3.6
Python-3.9
FreeBSD 13.1
The text was updated successfully, but these errors were encountered: