Skip to content

Commit 352afe0

Browse files
committed
Couple fixes for full coverage
1 parent a74b584 commit 352afe0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

README.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ Python Sorted Containers
33

44
.. todo::
55

6-
* Update coverage
76
* Update development page with test and coverage output.
87
* Rename github repo
98
* Replace bintrees in

tests/test_coverage_sorteddict.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ def test_values():
215215
temp = SortedDict(mapping)
216216
assert list(temp.values()) == [pos for key, pos in mapping]
217217

218+
def test_notgiven():
219+
assert repr(SortedDict._SortedDict__not_given) == '<not-given>'
220+
218221
def test_pop():
219222
mapping = [(val, pos) for pos, val in enumerate(string.ascii_lowercase)]
220223
temp = SortedDict(mapping)

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ commands=python -m pytest
99
addopts=
1010
--doctest-modules
1111
--doctest-glob "*.rst"
12+
--ignore tests/benchmark.py
1213
--ignore tests/benchmark_plot.py
14+
--ignore tests/benchmark_sorteddict.py
15+
--ignore tests/benchmark_sortedlist.py
16+
--ignore tests/benchmark_sortedset.py
1317
--ignore tests/plot_lengths_histogram_add.py
1418
--ignore tests/plot_lengths_histogram_delitem.py
1519
testpaths=docs sortedcontainers tests

0 commit comments

Comments
 (0)