[Python-checkins] cpython: Also remove a (broken) leaker test for the code removed in issue #18393.

ronald.oussoren python-checkins at python.org
Tue Jul 16 08:32:32 CEST 2013


http://hg.python.org/cpython/rev/7272ef213b7c
changeset:   84657:7272ef213b7c
user:        Ronald Oussoren <ronaldoussoren at mac.com>
date:        Tue Jul 16 08:32:05 2013 +0200
summary:
  Also remove a (broken) leaker test for the code removed in issue #18393.

files:
  Lib/test/leakers/test_gestalt.py |  14 --------------
  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
--- 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list