Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8c653e09
Commit
8c653e09
authored
Jul 05, 2011
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #8716: Add temporary code for 2.7 to help diagnose buildbot failure.
parent
b78fed9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
Lib/lib-tk/test/runtktests.py
Lib/lib-tk/test/runtktests.py
+14
-0
No files found.
Lib/lib-tk/test/runtktests.py
View file @
8c653e09
...
...
@@ -25,6 +25,20 @@ def check_tk_availability():
return
if
sys
.
platform
==
'darwin'
:
# ** temporary test code for issue8716 **
try
:
import
MacOS
wma
=
MacOS
.
WMAvailable
()
print
>>
test
.
test_support
.
get_original_stdout
(),
\
'
\
t
check_tk_availability -- WMAvailable returned %r'
%
wma
except
ImportError
:
print
>>
test
.
test_support
.
get_original_stdout
(),
\
'
\
t
check_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
# being called in an environment where a window server connection
# cannot be made, for instance when invoked by a buildbot or ssh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment