Skip to content

Commit 0e2b952

Browse files
committed
Fix docs in tests
1 parent cb7e93a commit 0e2b952

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/diffusion_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919

2020
def _run_diffusion_method_test(method, G, input_scores, test_output_scores):
21+
"""Helper for test class."""
2122
computed_output_scores = diffuse(input_scores, method, graph=G)
2223

2324
if isinstance(computed_output_scores, Matrix):
@@ -37,6 +38,7 @@ def _run_diffusion_method_test(method, G, input_scores, test_output_scores):
3738

3839

3940
class DiffuseTest(unittest.TestCase):
41+
"""Test diffusion methods."""
4042
graph = nx.read_gml(GML_FILE_EXAMPLE, label='id')
4143

4244
_run_diffusion_method_test('raw', graph, INPUT_SCORES, OUTPUT_RAW_SCORES)

0 commit comments

Comments
 (0)