-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_output.txt
More file actions
43 lines (42 loc) · 2.59 KB
/
test_output.txt
File metadata and controls
43 lines (42 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
============================= test session starts =============================
platform win32 -- Python 3.10.11, pytest-9.0.2, pluggy-1.6.0
rootdir: C:\Users\Pradeep\OneDrive\Documents\Code\Github\ContextFlow
configfile: pyproject.toml
plugins: anyio-4.12.1
collected 2 items / 2 errors
=================================== ERRORS ====================================
________________________ ERROR collecting test_core.py ________________________
ImportError while importing test module 'C:\Users\Pradeep\OneDrive\Documents\Code\Github\ContextFlow\test_core.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\..\..\..\AppData\Local\Programs\Python\Python310\lib\importlib\__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_core.py:3: in <module>
from contextflow.budget import TokenBudget
contextflow\__init__.py:12: in <module>
from .cache import NativeCache
contextflow\cache\__init__.py:1: in <module>
from .store import NativeCache
contextflow\cache\store.py:4: in <module>
from .. import __version__ as ENGINE_VERSION
E ImportError: cannot import name '__version__' from partially initialized module 'contextflow' (most likely due to a circular import) (C:\Users\Pradeep\OneDrive\Documents\Code\Github\ContextFlow\contextflow\__init__.py)
______________________ ERROR collecting test_registry.py ______________________
ImportError while importing test module 'C:\Users\Pradeep\OneDrive\Documents\Code\Github\ContextFlow\test_registry.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
..\..\..\..\..\AppData\Local\Programs\Python\Python310\lib\importlib\__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_registry.py:7: in <module>
from contextflow.ranking import scorer_registry, TimeDecayScorer
contextflow\__init__.py:12: in <module>
from .cache import NativeCache
contextflow\cache\__init__.py:1: in <module>
from .store import NativeCache
contextflow\cache\store.py:4: in <module>
from .. import __version__ as ENGINE_VERSION
E ImportError: cannot import name '__version__' from partially initialized module 'contextflow' (most likely due to a circular import) (C:\Users\Pradeep\OneDrive\Documents\Code\Github\ContextFlow\contextflow\__init__.py)
=========================== short test summary info ===========================
ERROR test_core.py
ERROR test_registry.py
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!
============================== 2 errors in 0.72s ==============================