Back to index

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

Classes

class  StructTest

Functions

def string_reverse
def bigendian_to_native
def test_main

Variables

string ISBIGENDIAN = "big"
int IS32BIT = 0x7fffffff
string integer_codes = 'b'
string byteorders = ''
 HAVE_LONG_LONG = False

Function Documentation

Definition at line 26 of file test_struct.py.

00026 
00027 def bigendian_to_native(value):
00028     if ISBIGENDIAN:
00029         return value
00030     else:
00031         return string_reverse(value)

Here is the call graph for this function:

Definition at line 23 of file test_struct.py.

00023 
00024 def string_reverse(s):
00025     return s[::-1]

Here is the caller graph for this function:

Definition at line 559 of file test_struct.py.

00559 
00560 def test_main():
00561     run_unittest(StructTest)

Here is the call graph for this function:


Variable Documentation

Definition at line 12 of file test_struct.py.

Definition at line 19 of file test_struct.py.

Definition at line 11 of file test_struct.py.

Definition at line 9 of file test_struct.py.

Definition at line 8 of file test_struct.py.