aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 364b3d6f..d03da14e 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=="))
- unexpected EOF while parsing (line 1)
+ >>> print(im("sys_platform==")) # doctest: +ELLIPSIS
+ unexpected EOF while parsing (...line 1)
>>> print(im("sys_platform=='win32'"))
False
@@ -353,8 +353,8 @@ Environment Markers
>>> print(im("(extra)"))
Comparison or logical expression expected
- >>> print(im("(extra"))
- unexpected EOF while parsing (line 1)
+ >>> print(im("(extra")) # doctest: +ELLIPSIS
+ unexpected EOF while parsing (...line 1)
>>> print(im("os.open('foo')=='y'"))
Language feature not supported in environment markers