HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/dtopt/tests.py
__test__ = {
    'test this': """
Ellisis in particular are tested here.  First, an
error:

    >>> o = object()
    >>> o # Expect a doctest error here!
    ...   # really, it's okay
    <object object at ...>

See, you got an error!  Next:

    >>> from dtopt import ELLIPSIS
    >>> o
    <object object at ...>
""",
    }

if __name__ == '__main__':
    import doctest
    doctest.testmod()
    print 'Expect *one* error.  Zero is bad, two is bad.'
    print 'One error is good'