Skip to content

Warnings in tests #209

@suvorovrain

Description

@suvorovrain

В результатах тестов есть warning'и. Локально и в CI.
https://github.com/suvorovrain/formal-lang-course/actions/runs/17525068924/job/49774366251#step:5:3237

=============================== warnings summary ===============================
tests/test_task1.py::test_get_graph_info
  /opt/hostedtoolcache/setup-rye-2024-03-04/0.44.0/x86_64/py/cpython@3.12.5/lib/python3.12/shutil.py:1272: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
    tarobj.extractall(extract_dir, filter=filter)

tests/test_task1.py::test_save_two_cycles_graph
  /home/runner/work/formal-lang-course/formal-lang-course/project/graph_utils.py:26: DeprecationWarning: nx.nx_pydot.to_pydot depends on the pydot package, which has known issues and is not actively maintained.
  
  See https://github.com/networkx/networkx/issues/5723
    dot_graph = to_pydot(graph)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================= 4 passed, 2973 skipped, 2 warnings in 4.85s ==================
Configure python path:  /home/runner/work/formal-lang-course/formal-lang-course

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions