Skip to content

Instantly share code, notes, and snippets.

@bgub
Created October 28, 2025 17:30
Show Gist options
  • Select an option

  • Save bgub/928d2443ea4db38435af8fbd381ca0af to your computer and use it in GitHub Desktop.

Select an option

Save bgub/928d2443ea4db38435af8fbd381ca0af to your computer and use it in GitHub Desktop.
Prob
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-7.4.4, pluggy-1.6.0
rootdir: /home/bgub/code/cs236/project-3-bgub
configfile: pyproject.toml
plugins: byu_pytest_utils-0.7.25
collected 41 items
<Package project3>
<DoctestModule fsm.py>
<DoctestItem project3.fsm.run_fsm>
<DoctestModule lexer.py>
<DoctestItem project3.lexer>
<DoctestModule token.py>
<DoctestItem project3.token>
<Package tests>
<Module test_passoff.py>
<Function test_bucket_80_0>
<Function test_bucket_80_1>
<Function test_bucket_80_2>
<Function test_bucket_80_3>
<Function test_bucket_80_4>
<Function test_bucket_80_7>
<Function test_bucket_80_8>
<Function test_bucket_100_5>
<Function test_bucket_100_6>
<Function test_bucket_100_9>
<Module test_relation.py>
<Function test_given_empty_relation_when_add_tuple_then_tuple_in_relation>
<Function test_given_relation_when_str_then_match_expected>
<Function test_given_relation_and_wrong_size_when_add_tuple_then_exception>
<Function test_given_relation_when_add_tuple_then_added>
<Function test_given_mismatched_header_and_tuple_when_construct_then_exception>
<Function test_given_set_that_is_not_over_tuples_when_construct_then_exception>
<Function test_given_set_that_is_tuples_but_not_str_when_construct_then_exception>
<Function test_given_mismatched_relations_when_difference_then_exception>
<Function test_given_matched_relations_when_difference_then_difference>
<Function test_union_raises_when_headers_differ>
<Function test_union_basic_cases[Disjoint]>
<Function test_union_basic_cases[Overlap]>
<Function test_union_basic_cases[Left Empty]>
<Function test_union_basic_cases[Right Empty]>
<Function test_union_basic_cases[Idempotent]>
<Function test_given_bad_col_when_project_then_raise>
<Function test_project_basic_cases[Empty]>
<Function test_project_basic_cases[Two Cols]>
<Function test_project_basic_cases[Two Cols with Dups]>
<Function test_project_basic_cases[Three Cols]>
<Function test_project_basic_cases[Three Cols with Two Adj]>
<Function test_project_basic_cases[Three Cols with Two Not Adj]>
<Module test_reporter.py>
<Function test_given_query_reporter_when_str_then_match_expect[literals_no]>
<Function test_given_query_reporter_when_str_then_match_expect[literals_yes]>
<Function test_given_query_reporter_when_str_then_match_expect[mixed_no]>
<Function test_given_query_reporter_when_str_then_match_expect[mixed_yes]>
<Function test_given_query_reporter_when_str_then_match_expect[id_yes]>
<Function test_given_iterator_when_reporting_then_match_expect>
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/_pytest/main.py", line 271, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/_pytest/main.py", line 324, in _main
INTERNALERROR> config.hook.pytest_collection(session=session)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
INTERNALERROR> raise exception
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
INTERNALERROR> return result.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
INTERNALERROR> raise exc.with_traceback(tb)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
INTERNALERROR> res = yield
INTERNALERROR> ^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
INTERNALERROR> return result.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
INTERNALERROR> raise exc.with_traceback(tb)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
INTERNALERROR> res = yield
INTERNALERROR> ^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
INTERNALERROR> return result.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
INTERNALERROR> raise exc.with_traceback(tb)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
INTERNALERROR> res = yield
INTERNALERROR> ^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/_pytest/main.py", line 335, in pytest_collection
INTERNALERROR> session.perform_collect()
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/_pytest/main.py", line 678, in perform_collect
INTERNALERROR> hook.pytest_collection_modifyitems(
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
INTERNALERROR> raise exception
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
INTERNALERROR> return result.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
INTERNALERROR> raise exc.with_traceback(tb)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
INTERNALERROR> res = yield
INTERNALERROR> ^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR> teardown.throw(exception)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
INTERNALERROR> return result.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
INTERNALERROR> raise exc.with_traceback(tb)
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
INTERNALERROR> res = yield
INTERNALERROR> ^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/bgub/code/cs236/project-3-bgub/.venv/lib/python3.12/site-packages/byu_pytest_utils/pytest_plugin.py", line 94, in pytest_collection_modifyitems
INTERNALERROR> test_group_stats[group_stats_key] |= {
INTERNALERROR> ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
INTERNALERROR> KeyError: 'fsm.py::project3.fsm.run_fsm'
========================= 41 tests collected in 0.03s ==========================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment