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
092d337e
Commit
092d337e
authored
Jun 24, 2011
by
R David Murray
Browse files
Options
Browse Files
Download
Plain Diff
Merge #10206: add test for previously fixed bug.
parents
cc1b4846
3aca2ee2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Lib/test/test_cmd_line.py
Lib/test/test_cmd_line.py
+7
-0
Misc/ACKS
Misc/ACKS
+1
-0
No files found.
Lib/test/test_cmd_line.py
View file @
092d337e
...
@@ -259,6 +259,13 @@ class CmdLineTest(unittest.TestCase):
...
@@ -259,6 +259,13 @@ class CmdLineTest(unittest.TestCase):
"print(repr(input()))"
,
"print(repr(input()))"
,
b"'abc'"
)
b"'abc'"
)
def
test_unmached_quote
(
self
):
# Issue #10206: python program starting with unmatched quote
# spewed spaces to stdout
rc
,
out
,
err
=
assert_python_failure
(
'-c'
,
"'"
)
self
.
assertRegex
(
err
.
decode
(
'ascii'
,
'ignore'
),
'SyntaxError'
)
self
.
assertEqual
(
b''
,
out
)
def
test_main
():
def
test_main
():
test
.
support
.
run_unittest
(
CmdLineTest
)
test
.
support
.
run_unittest
(
CmdLineTest
)
...
...
Misc/ACKS
View file @
092d337e
...
@@ -129,6 +129,7 @@ Gary S. Brown
...
@@ -129,6 +129,7 @@ Gary S. Brown
Titus Brown
Titus Brown
Oleg Broytmann
Oleg Broytmann
Dave Brueck
Dave Brueck
Francisco Martín Brugué
Stan Bubrouski
Stan Bubrouski
Erik de Bueger
Erik de Bueger
Dick Bulterman
Dick Bulterman
...
...
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