Y
Hacker News
new
|
ask
|
show
|
jobs
by
hangtwenty
2038 days ago
I am so glad to learn about these features in Rust and Elixir. I'm coming from Python originally, so I always want them!
https://docs.python.org/3/library/doctest.html
https://docs.pytest.org/en/stable/doctest.html
1 comments
mcintyre1994
2038 days ago
I had no idea that Python had a library for this, nice! Skimming that doc, it's especially impressive how well it looks to handle exception tracebacks.
link