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

doctest should allow running tests with "python -m doctest" #49272

Closed
tlynn mannequin opened this issue Jan 21, 2009 · 2 comments
Closed

doctest should allow running tests with "python -m doctest" #49272

tlynn mannequin opened this issue Jan 21, 2009 · 2 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@tlynn
Copy link
Mannequin

tlynn mannequin commented Jan 21, 2009

BPO 5022

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2009-01-22.02:55:09.624>
created_at = <Date 2009-01-21.12:27:42.033>
labels = ['type-feature', 'library']
title = 'doctest should allow running tests with "python -m doctest"'
updated_at = <Date 2009-01-22.02:55:09.623>
user = 'https://bugs.python.org/tlynn'

bugs.python.org fields:

activity = <Date 2009-01-22.02:55:09.623>
actor = 'benjamin.peterson'
assignee = 'none'
closed = True
closed_date = <Date 2009-01-22.02:55:09.624>
closer = 'benjamin.peterson'
components = ['Library (Lib)']
creation = <Date 2009-01-21.12:27:42.033>
creator = 'tlynn'
dependencies = []
files = []
hgrepos = []
issue_num = 5022
keywords = []
message_count = 2.0
messages = ['80323', '80328']
nosy_count = 2.0
nosy_names = ['tlynn', 'ggenellina']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue5022'
versions = ['Python 2.5']

@tlynn
Copy link
Mannequin Author

tlynn mannequin commented Jan 21, 2009

It would be good to be able to do something like::

  $ python -m doctest foo.py
  $ python -m doctest --text foo.txt bar.txt

(or preferably some command line options design which could handle
both .py and .txt files).

@tlynn tlynn mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Jan 21, 2009
@ggenellina
Copy link
Mannequin

ggenellina mannequin commented Jan 21, 2009

Already implemented in Python 2.6; please upgrade.
2.5 only gets security fixes at this time.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant