]> granicus.if.org Git - python/commitdiff
Also remove a (broken) leaker test for the code removed in issue #18393.
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 16 Jul 2013 06:32:05 +0000 (08:32 +0200)
committerRonald Oussoren <ronaldoussoren@mac.com>
Tue, 16 Jul 2013 06:32:05 +0000 (08:32 +0200)
Lib/test/leakers/test_gestalt.py [deleted file]

diff --git a/Lib/test/leakers/test_gestalt.py b/Lib/test/leakers/test_gestalt.py
deleted file mode 100644 (file)
index e0081c1..0000000
+++ /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