Chris Jerdonek added the comment:
My opinion on the "+LINUX" and "+WINDOWS" doctest directives in
Doc/library/ctypes.rst is simply to leave them alone for now. We can make
those errors go away in code when running doctest by adding no-op calls to
doctest.register_optionflag() as below:
+doctest.register_optionflag('WINDOWS')
+doctest.register_optionflag('LINUX')
prior to constructing the doctest TestSuites.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15939>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com