Open yurivict opened 1 year ago
Eviltracer is a test artifact: https://github.com/ionelmc/python-hunter/blob/master/tests/eviltracer.pyx
It exists to perform certain tests.
What is the actual problem you are having?
Tests fail:
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ERROR collecting tests/test_integration.py ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
tests/test_integration.py:10: in <module>
from process_tests import TestProcess
/usr/local/lib/python3.9/site-packages/process_tests.py:26: in <module>
import unittest2 as unittest
/usr/local/lib/python3.9/site-packages/unittest2/__init__.py:40: in <module>
from unittest2.collector import collector
/usr/local/lib/python3.9/site-packages/unittest2/collector.py:3: in <module>
from unittest2.loader import defaultTestLoader
/usr/local/lib/python3.9/site-packages/unittest2/loader.py:13: in <module>
from unittest2 import case, suite, util
/usr/local/lib/python3.9/site-packages/unittest2/case.py:18: in <module>
from unittest2 import result
/usr/local/lib/python3.9/site-packages/unittest2/result.py:10: in <module>
from unittest2.compatibility import wraps
/usr/local/lib/python3.9/site-packages/unittest2/compatibility.py:143: in <module>
class ChainMap(collections.MutableMapping):
/usr/local/lib/python3.9/collections/__init__.py:62: in __getattr__
warnings.warn("Using or importing the ABCs from 'collections' instead "
E DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
collecting 102 items / 1 error
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ERROR collecting tests/test_remote.py ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
tests/test_remote.py:7: in <module>
from process_tests import TestProcess
/usr/local/lib/python3.9/site-packages/process_tests.py:26: in <module>
import unittest2 as unittest
/usr/local/lib/python3.9/site-packages/unittest2/__init__.py:40: in <module>
from unittest2.collector import collector
/usr/local/lib/python3.9/site-packages/unittest2/collector.py:3: in <module>
from unittest2.loader import defaultTestLoader
/usr/local/lib/python3.9/site-packages/unittest2/loader.py:13: in <module>
from unittest2 import case, suite, util
/usr/local/lib/python3.9/site-packages/unittest2/case.py:18: in <module>
from unittest2 import result
/usr/local/lib/python3.9/site-packages/unittest2/result.py:10: in <module>
from unittest2.compatibility import wraps
/usr/local/lib/python3.9/site-packages/unittest2/compatibility.py:143: in <module>
class ChainMap(collections.MutableMapping):
/usr/local/lib/python3.9/collections/__init__.py:62: in __getattr__
warnings.warn("Using or importing the ABCs from 'collections' instead "
E DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
collecting 102 items / 3 errors
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ERROR collecting tests/test_tracer.py ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
ImportError while importing test module '/usr/ports/devel/py-hunter/work-py39/hunter-3.6.1/tests/test_tracer.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_tracer.py:82: in <module>
from eviltracer import EvilTracer
E ModuleNotFoundError: No module named 'eviltracer'
collected 106 items / 3 errors
here
Version: 3.6.1