| ============================= test session starts ==============================
|
| platform linux -- Python 3.13.13, pytest-9.0.3, pluggy-1.6.0 -- /opt/miniconda3/envs/testbed/bin/python3.13
|
| cachedir: .pytest_cache
|
| rootdir: /repo
|
| configfile: pyproject.toml
|
| collecting ... collected 133 items / 1 error
|
|
|
| ==================================== ERRORS ====================================
|
| _________________ ERROR collecting tests/test_recaptcha_v2.py __________________
|
| /opt/miniconda3/envs/testbed/lib/python3.13/site-packages/_pytest/python.py:507: in importtestmodule
|
| mod = import_path(
|
| /opt/miniconda3/envs/testbed/lib/python3.13/site-packages/_pytest/pathlib.py:587: in import_path
|
| importlib.import_module(module_name)
|
| /opt/miniconda3/envs/testbed/lib/python3.13/importlib/__init__.py:88: in import_module
|
| return _bootstrap._gcd_import(name[level:], package, level)
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| <frozen importlib._bootstrap>:1395: in _gcd_import
|
| ???
|
| <frozen importlib._bootstrap>:1360: in _find_and_load
|
| ???
|
| <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
|
| ???
|
| <frozen importlib._bootstrap>:935: in _load_unlocked
|
| ???
|
| /opt/miniconda3/envs/testbed/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:197: in exec_module
|
| exec(co, module.__dict__)
|
| tests/test_recaptcha_v2.py:5: in <module>
|
| from python3_anticaptcha.recaptcha_v2 import ReCaptchaV2
|
| E File "/repo/src/python3_anticaptcha/recaptcha_v2.py", line 156
|
| E self.task_params['isInvisible'] = isInvisible
|
| E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| E SyntaxError: cannot assign to subscript here. Maybe you meant '==' instead of '='?
|
| =========================== short test summary info ============================
|
| ERROR tests/test_recaptcha_v2.py
|
| !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
|
| ========================= 1 warning, 1 error in 1.12s ==========================
|