mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
Also remove a (broken) leaker test for the code removed in issue #18393.
This commit is contained in:
parent
cb2226cb69
commit
e6f2175afb
1 changed files with 0 additions and 14 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue