mock.patch interactions with "from" imports
Open
Nobody has claimed this yet.
stdlib
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 27197 |
|---|---|
| Nosy | @rbtcollins, @clarkbreyman, @tirkarthi |
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 = None
created_at = <Date 2016-06-03.17:21:05.318>
labels = ['type-bug', 'library']
title = 'mock.patch interactions with "from" imports'
updated_at = <Date 2019-12-13.11:16:14.116>
user = 'https://github.com/clarkbreyman'
bugs.python.org fields:
activity = <Date 2019-12-13.11:16:14.116>
actor = 'xtreak'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2016-06-03.17:21:05.318>
creator = 'clarkbreyman'
dependencies = []
files = []
hgrepos = []
issue_num = 27197
keywords = []
message_count = 2.0
messages = ['267114', '267162']
nosy_count = 3.0
nosy_names = ['rbcollins', 'clarkbreyman', 'xtreak']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue27197'
versions = ['Python 3.5']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the BPO issue 27197 report and the behavior of mock.patch when used with "from" imports. No source file or test is identified in the issue, so first locate the relevant Library (Lib) implementation and existing tests, then define the intended behavior and add coverage for it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100