Skip to content

Commit

Permalink
Fixes logic error preventing some if/else blocks from being executed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlratzel committed Nov 21, 2023
1 parent 3f636ec commit 99e9595
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/nx-cugraph/nx_cugraph/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def key(testpath):
"these tests",
}
)
elif nxver.major == 3 and nxver.minor <= 1:

if nxver.major == 3 and nxver.minor <= 1:
# MAINT: networkx 3.0, 3.1
# NetworkX 3.2 added the ability to "fallback to nx" if backend algorithms
# raise NotImplementedError or `can_run` returns False. The tests below
Expand Down

0 comments on commit 99e9595

Please sign in to comment.