Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Production Test Suite
Commits
5b427e5c
Commit
5b427e5c
authored
Jun 01, 2011
by
Samuel Iglesias Gonsalvez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tps/test: when ask the user to say Y/N added to allow the lowercase letters also.
parent
49a3490f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
test03.py
test/spec/python/test03.py
+1
-0
No files found.
test/spec/python/test03.py
View file @
5b427e5c
...
...
@@ -64,6 +64,7 @@ def main (default_directory='.'):
sys
.
stdin
=
sys
.
__stdin__
;
while
((
ask
!=
"Y"
)
and
(
ask
!=
"N"
))
:
ask
=
raw_input
(
"Are the LEDs blinking? [Y/N]"
)
ask
=
ask
.
upper
()
sys
.
stdout
=
tmp_stdout
;
sys
.
stdin
=
tmp_stdin
;
...
...
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