~ubuntu-branches/ubuntu/precise/python3.2/precise-proposed

« back to all changes in this revision

Viewing changes to Lib/ctypes/test/test_callbacks.py

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-09 18:40:39 UTC
  • mfrom: (30.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120309184039-j3yk2emxr1plyo21
Tags: 3.2.3~rc1-1
* Python 3.2.3 release candidate 1.
* Update to 20120309 from the 3.2 branch.
* Fix libpython.a symlink. Closes: #660146.
* Build-depend on xauth.
* Run the gdb tests for the debug build only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
                if isinstance(x, X)]
135
135
        self.assertEqual(len(live), 0)
136
136
 
 
137
    def test_issue12483(self):
 
138
        import gc
 
139
        class Nasty:
 
140
            def __del__(self):
 
141
                gc.collect()
 
142
        CFUNCTYPE(None)(lambda x=Nasty(): None)
 
143
        
 
144
 
137
145
try:
138
146
    WINFUNCTYPE
139
147
except NameError: