PyGraph
PyGraph copied to clipboard
Removendo a poluição estado em `graph`
name: PR about: melhorando a confiabilidade do teste title: PR labels: enhancement assignees: ''
#Numero_da_issue
Descrição do bug/feature: Os testes falhariam ao executar o comando:
pip3 install pytest-repeat; python3 -m pytest --count=2 __tests__/test_simple_graph.py::TestSimpleGraph::test_add_vertex
Solução
Removendo o vertix adicionado antes afirmação chamando graph.delete_vertex
Coisas a serem feitas Nenhum
PT-BR: Obrigado pela contribuição. Mas achei alguns problemas, com essa alteração nesses testes os demais falham executar, teria que alterar os demais testes para essa alteração.
English(By Google Translate): Thanks for the contribution. But I found some problems with the changes in these tests because the others fail to run, I would have to change the other tests.