paulc / dnslib

A Python library to encode/decode DNS wire-format packets
https://github.com/paulc/dnslib
BSD 2-Clause "Simplified" License
299 stars 85 forks source link

Return doctest status via exit code #10

Closed mgorny closed 4 years ago

mgorny commented 4 years ago

Exit with unsuccessful code if doctests fail. This makes it possible to actually automate running tests without relying on ugly greps to figure out if they worked.