##// END OF EJS Templates
Disable doctest with deliberate SyntaxError
Fernando Perez -
Show More
@@ -89,7 +89,7 b' class Struct:'
89 accessed using the dictionary syntax. Again, an example:
89 accessed using the dictionary syntax. Again, an example:
90
90
91 This doesn't work:
91 This doesn't work:
92 >>> s=Struct(4='hi') #doctest: +IGNORE_EXCEPTION_DETAIL
92 >> s=Struct(4='hi') #doctest: +IGNORE_EXCEPTION_DETAIL
93 Traceback (most recent call last):
93 Traceback (most recent call last):
94 ...
94 ...
95 SyntaxError: keyword can't be an expression
95 SyntaxError: keyword can't be an expression
General Comments 0
You need to be logged in to leave comments. Login now