Skip to content

Commit b868695

Browse files
committed
exclude tests to download example files
1 parent a2e13ab commit b868695

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bnlearn/tests/test_bnlearn.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ def test_sampling_gibbs(sprinkler_dag):
9797
assert df.shape == (n, 4)
9898

9999

100-
def test_to_undirected():
101-
# TEST 1:
102-
randdata = ['sprinkler', 'alarm', 'andes', 'asia', 'sachs']
103-
n = np.random.randint(0, len(randdata))
104-
DAG = bn.import_DAG(randdata[n], CPD=False, verbose=0)
105-
assert (DAG['adjmat'].sum().sum() * 2) == bn.to_undirected(DAG['adjmat']).sum().sum()
100+
# def test_to_undirected():
101+
# # TEST 1:
102+
# randdata = ['sprinkler', 'alarm', 'andes', 'asia', 'sachs']
103+
# n = np.random.randint(0, len(randdata))
104+
# DAG = bn.import_DAG(randdata[n], CPD=False, verbose=0)
105+
# assert (DAG['adjmat'].sum().sum() * 2) == bn.to_undirected(DAG['adjmat']).sum().sum()
106106

107107

108108
def test_compare_networks():

0 commit comments

Comments
 (0)