summaryrefslogtreecommitdiff
path: root/sys/lib/python/test/crashers/weakref_in_del.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-05-04 05:41:33 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-05-04 05:41:33 +0000
commitb8436b026a90291ba26afa4f7a2700720b03339f (patch)
tree3098aede87640c80567ecb31022e0404a8b5ec75 /sys/lib/python/test/crashers/weakref_in_del.py
parent6c1b42188259a6f1636cd15a9570b18af03e2dbb (diff)
remove python test cases
Diffstat (limited to 'sys/lib/python/test/crashers/weakref_in_del.py')
-rw-r--r--sys/lib/python/test/crashers/weakref_in_del.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/lib/python/test/crashers/weakref_in_del.py b/sys/lib/python/test/crashers/weakref_in_del.py
deleted file mode 100644
index 2e9b18683..000000000
--- a/sys/lib/python/test/crashers/weakref_in_del.py
+++ /dev/null
@@ -1,17 +0,0 @@
-import weakref
-
-# http://python.org/sf/1377858
-# Fixed for new-style classes in 2.5c1.
-
-ref = None
-
-def test_weakref_in_del():
- class Target():
- def __del__(self):
- global ref
- ref = weakref.ref(self)
-
- w = Target()
-
-if __name__ == '__main__':
- test_weakref_in_del()