Closed pomponchik closed 3 weeks ago
And the output of the mutmut results
:
% mutmut results
To apply a mutant on disk:
mutmut apply <id>
To show a mutant:
mutmut show <id>
Traceback (most recent call last):
File "/Users/pomponchik/Desktop/Projects/suby/venv/bin/mutmut", line 8, in <module>
sys.exit(climain())
^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/mutmut/__main__.py", line 152, in results
print_result_cache()
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/mutmut/cache.py", line 88, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "<string>", line 2, in print_result_cache
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/pony/orm/core.py", line 519, in new_func
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/mutmut/cache.py", line 183, in print_result_cache
print_stuff('Timed out ⏰', select(x for x in Mutant if x.status == BAD_TIMEOUT))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/pony/orm/core.py", line 5560, in select
return make_query(args, frame_depth=cut_traceback_depth+1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/pony/orm/core.py", line 5546, in make_query
tree, external_names, cells = decompile(gen)
^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/pony/orm/decompiling.py", line 43, in decompile
decompiler = Decompiler(codeobject)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/pony/orm/decompiling.py", line 160, in __init__
decompiler.get_instructions()
File "/Users/pomponchik/Desktop/Projects/suby/venv/lib/python3.12/site-packages/pony/orm/decompiling.py", line 216, in get_instructions
arg = [cmp_op[oparg]]
~~~~~~^^^^^^^
IndexError: tuple index out of range
Hi! I use mutmut in my project. When I run the
mutmut html
command, I get the following result in my console:Steps to reproduce the problem:
pip3 install -r requirements'.txt
.mutmut run
.mutmut html
.About my system: