summaryrefslogtreecommitdiffstats
path: root/Lib/test/leakers
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2013-07-16 06:32:05 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2013-07-16 06:32:05 (GMT)
commite6f2175afb68be240be96368f99a92329baf4e15 (patch)
treec25237974a1ebb2f0d8d773819faf31089f72edf /Lib/test/leakers
parentcb2226cb6902993ebe68d7c7748d42e0240958b9 (diff)
downloadcpython-e6f2175afb68be240be96368f99a92329baf4e15.zip
cpython-e6f2175afb68be240be96368f99a92329baf4e15.tar.gz
cpython-e6f2175afb68be240be96368f99a92329baf4e15.tar.bz2
Also remove a (broken) leaker test for the code removed in issue #18393.
Diffstat (limited to 'Lib/test/leakers')
-rw-r--r--Lib/test/leakers/test_gestalt.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/Lib/test/leakers/test_gestalt.py b/Lib/test/leakers/test_gestalt.py
deleted file mode 100644
index e0081c1..0000000
--- a/Lib/test/leakers/test_gestalt.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import sys
-
-if sys.platform != 'darwin':
- raise ValueError("This test only leaks on Mac OS X")
-
-def leak():
- # taken from platform._mac_ver_lookup()
- from gestalt import gestalt
- import MacOS
-
- try:
- gestalt('sysu')
- except MacOS.Error:
- pass