validate_test.py - Ambiguous import: "patch" from package "mock"
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start with src/python/tensorflow_cloud/core/tests/unit/validate_test.py and inspect line 20, where the validator reports the ambiguous mock import. Trace how this test's imports are analyzed, then make the import unambiguous and rerun the relevant validation test or command. Done means the no-direct-dependencies check no longer reports this ambiguity.
Written by the indexing model from the issue text.
Description
src/python/tensorflow_cloud/core/tests/unit/validate_test.py, no direct deps found for imports:
line 20: from mock import patch: Ambiguous import: "patch" from package "mock": cannot determine whether "patch" is an attribute on the package, or a module not provided by a direct dependency.
- Dominant language
- Python
- Stars
- 383
- Forks
- 93
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 1
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.
More from tensorflow/cloud
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
tensorflow/cloud#397 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
tensorflow/cloud#392 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
tensorflow/cloud#391 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
tensorflow/cloud#388 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
tensorflow/cloud#387 · 1 comment ·
All issues in tensorflow/cloud
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100