Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test cases in test_get_ordered_cycle_all_node_cycles (issue #71) #73

Merged
merged 2 commits into from
Sep 3, 2023

Conversation

nawtrey
Copy link
Collaborator

@nawtrey nawtrey commented Sep 3, 2023

Description

* Updates `test_get_ordered_cycle_all_node_cycles`
to switch test cycles based on python version due
to changes in upstream NetworkX code
@nawtrey
Copy link
Collaborator Author

nawtrey commented Sep 3, 2023

It looks like my local Python 3.8 environment was not sufficiently updated to trip the CycleError. I'll see if I can nail down the NetworkX version that breaks this test.

@nawtrey
Copy link
Collaborator Author

nawtrey commented Sep 3, 2023

Updating from NetworkX v3.0 to 3.1 broke the test locally. I'm guessing it has to do with some algorithmic change in this PR. I'll try updating the test to check the networkx version instead.

* Change `test_get_ordered_cycle_all_node_cycles` test cases
to delineate by networkx version instead of Python version
@nawtrey
Copy link
Collaborator Author

nawtrey commented Sep 3, 2023

Alright, simple change and tests are now passing. Merging.

@nawtrey nawtrey merged commit 8c677e3 into master Sep 3, 2023
6 checks passed
@nawtrey nawtrey deleted the fix_issue_71 branch September 3, 2023 17:23
@nawtrey nawtrey mentioned this pull request Sep 7, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI, BUG: Tests Failing on Python 3.9
1 participant