aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api_tests.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/api_tests.txt')
-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..d34f2314 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=="))
+ invalid syntax
>>> 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"))
+ invalid syntax
>>> print(im("os.open('foo')=='y'"))
Language feature not supported in environment markers