Skip to content

Commit 77405c1

Browse files
committed
Remove cython testing for module name
1 parent cf5f9e6 commit 77405c1

3 files changed

Lines changed: 0 additions & 21 deletions

File tree

tests/test_coverage_sorteddict.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,3 @@ def test_ior():
526526
temp2 = SortedDict(mapping[13:])
527527
temp1 |= temp2
528528
assert temp1 == dict(mapping)
529-
530-
try:
531-
import Cython
532-
def test_cython():
533-
assert SortedDict.__module__ == 'sortedcontainers._sorteddict'
534-
except ImportError:
535-
pass

tests/test_coverage_sortedlist.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,3 @@ def test_check():
603603
slt._len = 5
604604
with pytest.raises(AssertionError):
605605
slt._check()
606-
607-
try:
608-
import Cython
609-
def test_cython():
610-
assert SortedList.__module__ == 'sortedcontainers._sortedlist'
611-
except ImportError:
612-
pass

tests/test_coverage_sortedset.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -476,10 +476,3 @@ def test_pickle():
476476
beta = pickle.loads(data)
477477
assert alpha == beta
478478
assert alpha._key == beta._key
479-
480-
try:
481-
import Cython
482-
def test_cython():
483-
assert SortedSet.__module__ == 'sortedcontainers._sortedset'
484-
except ImportError:
485-
pass

0 commit comments

Comments
 (0)