Mercurial > p > roundup > code
view demo.py @ 5728:bfd28644fe43
In suggestion from Joseph Myers, put test code in a try: finally: block
to make sure that patching of date.Date is undone if there is an
exception.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 24 May 2019 17:23:08 -0400 |
| parents | 110ac45875ab |
| children | 7f0bc46aee67 |
line wrap: on
line source
#!/usr/bin/env python import sys import roundup from roundup.demo import main sys.exit(main())
