Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doctests aren't run #1975

Open
jaraco opened this issue Jul 17, 2022 · 1 comment
Open

doctests aren't run #1975

jaraco opened this issue Jul 17, 2022 · 1 comment

Comments

@jaraco
Copy link
Member

jaraco commented Jul 17, 2022

While working on another issue, I was adding some code. When I added the code, I added a couple of doctests to document and test the basic behavior, but when I ran the tests with -k httputil (since the doctests were in httputil), the tests weren't run. It would be preferable for doctests to be exercised when they exist.

@jaraco
Copy link
Member Author

jaraco commented Jul 17, 2022

As a temporary workaround, I was able to run .tox/python/bin/python -m doctest cherrypy/lib/httputil.py to exercise and validate the new tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant