Skip to content

Commit

Permalink
nx-cugraph: xfail test_louvain.py:test_threshold in Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknw committed Oct 19, 2023
1 parent 0fd5883 commit bf5b973
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions python/nx-cugraph/nx_cugraph/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# limitations under the License.
from __future__ import annotations

import sys

import networkx as nx

import nx_cugraph as nxcg
Expand Down Expand Up @@ -174,12 +176,13 @@ def key(testpath):
): louvain_different,
key("test_louvain.py:test_none_weight_param"): louvain_different,
key("test_louvain.py:test_multigraph"): louvain_different,
# See networkx#6630
key(
"test_louvain.py:test_undirected_selfloops"
): "self-loops not handled in Louvain",
}
)
if sys.version_info[:2] == (3, 9):
# This test is sensitive to RNG, which depends on Python version
xfail[
key("test_louvain.py:test_threshold")
] = "Louvain does not support seed parameter"

for item in items:
kset = set(item.keywords)
Expand Down

0 comments on commit bf5b973

Please sign in to comment.