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
64e34ed9
Commit
64e34ed9
authored
Oct 12, 2015
by
Zachary Ware
Browse files
Options
Browse Files
Download
Plain Diff
Issue #25093: Merge with 3.4
parents
1a1ccb2e
004e3b86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Lib/test/test_tcl.py
Lib/test/test_tcl.py
+4
-4
No files found.
Lib/test/test_tcl.py
View file @
64e34ed9
import
unittest
import
re
import
subprocess
import
sys
import
os
from
test
import
support
...
...
@@ -242,11 +243,10 @@ class TclTest(unittest.TestCase):
with
support
.
EnvironmentVarGuard
()
as
env
:
env
.
unset
(
"TCL_LIBRARY"
)
f
=
os
.
popen
(
'%s -c "import tkinter; print(tkinter)"'
%
(
unc_name
,))
stdout
=
subprocess
.
check_output
(
[
unc_name
,
'-c'
,
'import tkinter; print(tkinter)'
])
self
.
assertIn
(
'tkinter'
,
f
.
read
())
# exit code must be zero
self
.
assertEqual
(
f
.
close
(),
None
)
self
.
assertIn
(
b'tkinter'
,
stdout
)
def
test_exprstring
(
self
):
tcl
=
self
.
interp
...
...
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