mirror of
https://github.com/python/cpython.git
synced 2025-08-20 16:53:19 +00:00
Issue #8716: Back out temporary changeset 18ce15f841cf
This commit is contained in:
parent
8c653e094b
commit
09f6ab0d0f
1 changed files with 0 additions and 14 deletions
|
@ -25,20 +25,6 @@ def check_tk_availability():
|
||||||
return
|
return
|
||||||
|
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
|
|
||||||
# ** temporary test code for issue8716 **
|
|
||||||
try:
|
|
||||||
import MacOS
|
|
||||||
wma = MacOS.WMAvailable()
|
|
||||||
print >> test.test_support.get_original_stdout(), \
|
|
||||||
'\tcheck_tk_availability -- WMAvailable returned %r' % wma
|
|
||||||
except ImportError:
|
|
||||||
print >> test.test_support.get_original_stdout(), \
|
|
||||||
'\tcheck_tk_availability -- could not import MacOS'
|
|
||||||
if not wma:
|
|
||||||
raise unittest.SkipTest("Window manager is not available")
|
|
||||||
# ** end of temporary test code for issue8716 **
|
|
||||||
|
|
||||||
# The Aqua Tk implementations on OS X can abort the process if
|
# The Aqua Tk implementations on OS X can abort the process if
|
||||||
# being called in an environment where a window server connection
|
# being called in an environment where a window server connection
|
||||||
# cannot be made, for instance when invoked by a buildbot or ssh
|
# cannot be made, for instance when invoked by a buildbot or ssh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue