From 99e9595c26119974ea64da93e102425446621b61 Mon Sep 17 00:00:00 2001 From: Rick Ratzel Date: Tue, 21 Nov 2023 17:05:17 -0600 Subject: [PATCH] Fixes logic error preventing some if/else blocks from being executed. --- python/nx-cugraph/nx_cugraph/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/nx-cugraph/nx_cugraph/interface.py b/python/nx-cugraph/nx_cugraph/interface.py index e18389f3246..c386b914eef 100644 --- a/python/nx-cugraph/nx_cugraph/interface.py +++ b/python/nx-cugraph/nx_cugraph/interface.py @@ -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