We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705f450 commit b2e588cCopy full SHA for b2e588c
pydatastructs/miscellaneous_data_structures/tests/test_queue.py
@@ -91,7 +91,7 @@ def test_LinkedListQueue():
91
assert q1.pop().key == 1
92
assert q1.popleft().key == 0
93
assert len(q1) == 0
94
- raises(IndexError, lambda: q1.popleft())
+ assert raises(IndexError, lambda: q1.popleft())
95
96
def test_PriorityQueue():
97
pq1 = PriorityQueue(implementation='linked_list')
0 commit comments