Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BigQuery: Fix the names of several pytest "skip if" markers#8694

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tswast merged 1 commit intogoogleapis:masterfromplamut:fix-skip-fixtures
Jul 17, 2019

Conversation

@plamut
Copy link
Contributor

I noticed that running BigQuery unit tests issues some warning, and some of them are caused by using a "skipIf" marker withpytest, while the name of that marker is actually "skipif" (all lowercase).

How to test

Run bigquery unit tests, e.g.:

$ nox -f noxfile.py -s unit-3.6

Actual result (before the fix):
Five warnings are reported, including the"Unknown pytest.mark.skipIf - is this a typo? ...".

Expected result (after the fix):
Only three warnings are reported, but none of them related to pytest markers.

"skipif" should be used instead of "skipIf", the latter is the thingfrom the unittest nodule.
@plamutplamut added the api: bigqueryIssues related to the BigQuery API. labelJul 17, 2019
@plamutplamut requested review froma team andtswastJuly 17, 2019 16:06
@googlebotgooglebot added the cla: yesThis human has signed the Contributor License Agreement. labelJul 17, 2019
Copy link
Contributor

@tswasttswast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Oops. Thank you!

@tswasttswast merged commita40d0d4 intogoogleapis:masterJul 17, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tswasttswasttswast approved these changes

Assignees

@tswasttswast

Labels

api: bigqueryIssues related to the BigQuery API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@plamut@tswast@googlebot

[8]ページ先頭

©2009-2025 Movatter.jp