Skip to content

Commit 4a313dd

Browse files
committed
Pass flake8
1 parent df251aa commit 4a313dd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/kernel_tests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"""Helper functions for testing."""
2424

2525

26-
def _run_kernel_test(kernel_func, G, validate_matrix_path):
26+
def _run_kernel_test(kernel_func, g, validate_matrix_path):
2727
"""Run kernel test."""
28-
matrix = kernel_func(G)
28+
matrix = kernel_func(g)
2929
v = Matrix.from_csv(validate_matrix_path)
3030

3131
logging.info(' %s \n %s\n', 'Computed matrix', matrix)
@@ -40,6 +40,7 @@ def _run_kernel_test(kernel_func, G, validate_matrix_path):
4040

4141
class KernelsTest(unittest.TestCase):
4242
"""Kernel test."""
43+
4344
graph = nx.read_gml(GML_FILE_EXAMPLE, label='id')
4445

4546
_run_kernel_test(commute_time_kernel, graph, COMMUTE_TIME_KERNEL)

0 commit comments

Comments
 (0)