Back to index

python3.2  3.2.2
Functions
test.leakers.test_gestalt Namespace Reference

Functions

def leak

Function Documentation

Definition at line 6 of file test_gestalt.py.

00006 
00007 def leak():
00008     # taken from platform._mac_ver_lookup()
00009     from gestalt import gestalt
00010     import MacOS
00011 
00012     try:
00013         gestalt('sysu')
00014     except MacOS.Error:
00015         pass