aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-08-09 22:45:59 -0400
committerJason R. Coombs <jaraco@jaraco.com>2013-08-09 22:45:59 -0400
commit4b432e0f50e9f5871a2f7375b406be7258bfa22c (patch)
treeb054a4b3502a8ab6a68feec89822644919d41483 /tests
parentf3f0c144dcfec41924e2e3eac3cbbaa81cb53819 (diff)
downloadexternal_python_setuptools-4b432e0f50e9f5871a2f7375b406be7258bfa22c.tar.gz
external_python_setuptools-4b432e0f50e9f5871a2f7375b406be7258bfa22c.tar.bz2
external_python_setuptools-4b432e0f50e9f5871a2f7375b406be7258bfa22c.zip
Issue 50: Removed filename and line number from SyntaxErrors returned by invalid_marker. This change simplifies the test and paves the way for supporting PyPy.
Diffstat (limited to 'tests')
-rw-r--r--tests/api_tests.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/api_tests.txt b/tests/api_tests.txt
index 86ca245d..38b762d2 100644
--- a/tests/api_tests.txt
+++ b/tests/api_tests.txt
@@ -341,8 +341,8 @@ Environment Markers
>>> print(im("sys_platform"))
Comparison or logical expression expected
- >>> print(im("sys_platform==")) # doctest: +ELLIPSIS
- unexpected EOF while parsing (...line 1)
+ >>> print(im("sys_platform=="))
+ unexpected EOF while parsing
>>> print(im("sys_platform=='win32'"))
False
@@ -353,8 +353,8 @@ Environment Markers
>>> print(im("(extra)"))
Comparison or logical expression expected
- >>> print(im("(extra")) # doctest: +ELLIPSIS
- unexpected EOF while parsing (...line 1)
+ >>> print(im("(extra"))
+ unexpected EOF while parsing
>>> print(im("os.open('foo')=='y'"))
Language feature not supported in environment markers