Back to index

apport  2.3
Classes | Functions
test_rethread Namespace Reference

Classes

class  T

Functions

def idle
def div

Function Documentation

def test_rethread.div (   x,
  y 
)
Test thread to divide two numbers.

Definition at line 12 of file test_rethread.py.

00012 
00013 def div(x, y):
00014     '''Test thread to divide two numbers.'''
00015 
00016     return x / y
00017 

def test_rethread.idle (   seconds)
Test thread to just wait a bit.

Definition at line 6 of file test_rethread.py.

00006 
00007 def idle(seconds):
00008     '''Test thread to just wait a bit.'''
00009 
00010     time.sleep(seconds)
00011