/usr/lib/python3/dist-packages/networkx/algorithms/approximation/tests/test_independent_set.py is in python3-networkx 1.8.1-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | from nose.tools import *
import networkx as nx
import networkx.algorithms.approximation as a
def test_independent_set():
# smoke test
G = nx.Graph()
assert_equal(len(a.maximum_independent_set(G)),0)
|