Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_queue Namespace Reference

Classes

class  _TriggerThread
class  BlockingTestMixin
class  BaseQueueTest
class  QueueTest
class  LifoQueueTest
class  PriorityQueueTest
class  FailingQueueException
class  FailingQueue
class  FailingQueueTest

Functions

def qfull
def test_main

Variables

tuple threading = support.import_module('threading')
int QUEUE_SIZE = 5

Function Documentation

def test.test_queue.qfull (   q)

Definition at line 11 of file test_queue.py.

00011 
00012 def qfull(q):
00013     return q.maxsize > 0 and q.qsize() == q.maxsize
00014 
# A thread to run a function that unclogs a blocked Queue.

Here is the caller graph for this function:

Definition at line 354 of file test_queue.py.

00354 
00355 def test_main():
00356     support.run_unittest(QueueTest, LifoQueueTest, PriorityQueueTest,
00357                               FailingQueueTest)
00358 


Variable Documentation

Definition at line 9 of file test_queue.py.

Definition at line 7 of file test_queue.py.