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

Check if unittest.mock needs updating for PEP 451 #63906

Closed
brettcannon opened this issue Nov 22, 2013 · 2 comments
Closed

Check if unittest.mock needs updating for PEP 451 #63906

brettcannon opened this issue Nov 22, 2013 · 2 comments
Labels
stdlib Python modules in the Lib dir

Comments

@brettcannon
Copy link
Member

BPO 19707
Nosy @brettcannon, @ncoghlan, @ezio-melotti, @voidspace, @ericsnowcurrently

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 2013-12-02.15:18:59.940>
created_at = <Date 2013-11-22.16:41:00.288>
labels = ['invalid', 'library']
title = 'Check if unittest.mock needs updating for PEP 451'
updated_at = <Date 2013-12-02.15:18:59.939>
user = 'https://github.com/brettcannon'

bugs.python.org fields:

activity = <Date 2013-12-02.15:18:59.939>
actor = 'brett.cannon'
assignee = 'none'
closed = True
closed_date = <Date 2013-12-02.15:18:59.940>
closer = 'brett.cannon'
components = ['Library (Lib)']
creation = <Date 2013-11-22.16:41:00.288>
creator = 'brett.cannon'
dependencies = []
files = []
hgrepos = []
issue_num = 19707
keywords = []
message_count = 2.0
messages = ['204969', '205016']
nosy_count = 6.0
nosy_names = ['brett.cannon', 'ncoghlan', 'ezio.melotti', 'Arfrever', 'michael.foord', 'eric.snow']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue19707'
versions = ['Python 3.4']

@brettcannon brettcannon added the stdlib Python modules in the Lib dir label Nov 22, 2013
@voidspace
Copy link
Contributor

It shouldn't do, so long as __import__ supports PEP-451. unittest.mock.patch uses __import__ to find modules specified by name.

@brettcannon
Copy link
Member Author

Based on what Michael said there is nothing to update.

@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
Projects
None yet
Development

No branches or pull requests

2 participants