Skip to content

Commit 2dc2de2

Browse files
committed
fix(test): disable standalone test/intervals.py, optimality_test imports intervaltree
1 parent ccc07b8 commit 2dc2de2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/intervals.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ def trepr(s):
126126
pprint(data, f)
127127

128128

129-
if __name__ == '__main__':
129+
# if __name__ == '__main__':
130130
# ivs = gaps_rand()
131131
# write_ivs_data('ivs3', ivs, docstring="""
132132
# Random integer ranges, with gaps.
133133
# """
134134
# )
135-
pprint(ivs)
135+
# pprint(ivs)

test/optimality/optimality_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
from test.optimality.optimality_test_matrix import OptimalityTestMatrix
2626
from test import data
2727

28+
from intervaltree import IntervalTree
2829

29-
matrix = OptimalityTestMatrix(verbose=1)
30+
31+
matrix = OptimalityTestMatrix(verbose=True)
3032
matrix.run()
3133

3234

0 commit comments

Comments
 (0)