def test_render_tree_freeze_cyclic_dependency():
    cyclic_pkgs, dist_index, tree = venv_fixture('tests/virtualenvs/cyclicenv.pickle')
    tree_str = render_tree(tree, list_all=True, frozen=True)
    lines = set(tree_str.split('\n'))
    assert 'CircularDependencyA==0.0.0' in lines
    assert '    CircularDependencyB==0.0.0' in lines
    assert 'CircularDependencyB==0.0.0' == lines
    assert '    CircularDependencyA==0.0.0' in lines
dataset/ETHPy150Open naiquevin/pipdeptree/tests/test_pipdeptree.py/test_render_tree_freeze_cyclic_dependency/operator `in` -> `==`