-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF/TST: use pytest builtin monkeypatch fixture and remove mock fixture #24624
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
Conversation
# see gh-15337 | ||
parser = all_parsers | ||
msg = "Invalid file path or buffer object type" | ||
|
||
class Mock(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally would rather just name this Foo
so as not to cause confusion with the real Mock
class
Codecov Report
@@ Coverage Diff @@
## master #24624 +/- ##
==========================================
- Coverage 92.38% 92.37% -0.01%
==========================================
Files 166 166
Lines 52395 52395
==========================================
- Hits 48403 48402 -1
- Misses 3992 3993 +1
Continue to review full report at Codecov.
|
@simonjayhawkins in followup could add a check for |
thanks! |
…re (pandas-dev#24624) * use monkeypatch * remove mock fixture * rename class
…re (pandas-dev#24624) * use monkeypatch * remove mock fixture * rename class
git diff upstream/master -u -- "*.py" | flake8 --diff