GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Suppress module name spew when running tests. by tseaver · Pull Request #2363 · googleapis/google-cloud-python

Conversation

@tseaver

@tseaver tseaver commented Sep 20, 2016

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tseaver tseaver added the testing label Sep 20, 2016
@tseaver tseaver assigned daspecster and dhermes Sep 20, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 20, 2016
dhermes
dhermes reviewed Sep 20, 2016
View reviewed changes
Comment thread tox.ini Outdated
pytest
covercmd =
py.test \
py.test -q \

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dhermes
dhermes reviewed Sep 20, 2016
View reviewed changes
Comment thread tox.ini Outdated
[testenv]
commands =
py.test {posargs} unit_tests
py.test -q {posargs} unit_tests

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Sep 20, 2016

Copy link
Copy Markdown
Contributor

@tseaver I'm unclear what spew is being quited here. Care to give a bit more detail?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver
Suppress module name spew when running tests.
00798a5
@tseaver

tseaver commented Sep 20, 2016

Copy link
Copy Markdown
Contributor Author

@dhermes py.test defaults to verbosity == 1, which injects the unit test module name into the output., e.g.:

unit_tests/test__helpers.py .....................................................................
unit_tests/test_client.py ............
unit_tests/test_connection.py ...........................
unit_tests/test_credentials.py .............
unit_tests/test_exceptions.py .....
unit_tests/test_iterator.py ..................
unit_tests/test_operation.py ..............
unit_tests/bigquery/test__helpers.py ............................................
unit_tests/bigquery/test_client.py ...............
unit_tests/bigquery/test_connection.py ..
unit_tests/bigquery/test_dataset.py .............................................
unit_tests/bigquery/test_job.py ......................................................
unit_tests/bigquery/test_query.py ...............
unit_tests/bigquery/test_schema.py ...........
unit_tests/bigquery/test_table.py ....................................................................
unit_tests/bigtable/test_client.py .............................
unit_tests/bigtable/test_cluster.py ...................
unit_tests/bigtable/test_column_family.py ...........................................
unit_tests/bigtable/test_instance.py .........................
unit_tests/bigtable/test_row.py ....................................
unit_tests/bigtable/test_row_data.py ...................................................................................
unit_tests/bigtable/test_row_filters.py ...............................................................................
unit_tests/bigtable/test_table.py ..............................
unit_tests/datastore/test_batch.py ......................
unit_tests/datastore/test_client.py ................................................
unit_tests/datastore/test_connection.py .............................................
unit_tests/datastore/test_entity.py ...............
unit_tests/datastore/test_helpers.py .......................................................................
unit_tests/datastore/test_key.py .................................................
unit_tests/datastore/test_query.py ........................................................
unit_tests/datastore/test_transaction.py ..........
unit_tests/dns/test_changes.py ................
unit_tests/dns/test_client.py ........
unit_tests/dns/test_connection.py ..
unit_tests/dns/test_resource_record_set.py ......
unit_tests/dns/test_zone.py ..........................
unit_tests/error_reporting/test_client.py .....
unit_tests/language/test_client.py .......
unit_tests/language/test_connection.py .
unit_tests/language/test_document.py .............
unit_tests/language/test_entity.py ..
unit_tests/language/test_sentiment.py ..
unit_tests/language/test_syntax.py .....
unit_tests/logging/test__gax.py ...............................................
unit_tests/logging/test_client.py ...................
unit_tests/logging/test_connection.py ............................
unit_tests/logging/test_entries.py ........
unit_tests/logging/test_logger.py .............................
unit_tests/logging/test_metric.py ..............
unit_tests/logging/test_sink.py ..............
unit_tests/logging/handlers/test_handlers.py ....
unit_tests/logging/handlers/transports/test_background_thread.py ......
unit_tests/logging/handlers/transports/test_base.py .
unit_tests/logging/handlers/transports/test_sync.py ..
unit_tests/monitoring/test__dataframe.py ssssssssss...
unit_tests/monitoring/test_client.py ................
unit_tests/monitoring/test_connection.py .
unit_tests/monitoring/test_group.py ............................
unit_tests/monitoring/test_label.py .........
unit_tests/monitoring/test_metric.py .....................
unit_tests/monitoring/test_query.py .................................
unit_tests/monitoring/test_resource.py ...........
unit_tests/monitoring/test_timeseries.py ...........
unit_tests/pubsub/test__gax.py ...............................................
unit_tests/pubsub/test__helpers.py ....
unit_tests/pubsub/test_client.py ............
unit_tests/pubsub/test_connection.py .......................................
unit_tests/pubsub/test_iam.py ..............
unit_tests/pubsub/test_message.py ........
unit_tests/pubsub/test_subscription.py ........................................
unit_tests/pubsub/test_topic.py ....................................
unit_tests/resource_manager/test_client.py ..........
unit_tests/resource_manager/test_connection.py ..
unit_tests/resource_manager/test_project.py .................
unit_tests/storage/test__helpers.py ..........
unit_tests/storage/test_acl.py ...................................................................
unit_tests/storage/test_batch.py ......................
unit_tests/storage/test_blob.py ....................................................................................
unit_tests/storage/test_bucket.py .......................................................................
unit_tests/storage/test_client.py ....................
unit_tests/storage/test_connection.py ..
unit_tests/streaming/test_buffered_stream.py ........
unit_tests/streaming/test_exceptions.py ....
unit_tests/streaming/test_http_wrapper.py .............................
unit_tests/streaming/test_stream_slice.py ......
unit_tests/streaming/test_transfer.py ....................................................................................................................................
unit_tests/streaming/test_util.py ......
unit_tests/translate/test_client.py .............
unit_tests/translate/test_connection.py ..
unit_tests/vision/test_client.py ...............
unit_tests/vision/test_connection.py .
unit_tests/vision/test_entity.py .
unit_tests/vision/test_face.py ......
unit_tests/vision/test_feature.py ...
unit_tests/vision/test_image.py ...

With the PR, it is just dots (less noise, more signal):

........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ssssssssss...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
dhermes reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Sep 20, 2016

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dhermes
dhermes approved these changes Sep 20, 2016
View reviewed changes

@dhermes dhermes left a comment

Copy link
Copy Markdown
Contributor

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.

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tseaver
tseaver merged commit b645260 into googleapis:master Sep 20, 2016
@tseaver
tseaver deleted the pytest-suppress-module-name-spew branch September 20, 2016 19:07
@dhermes dhermes mentioned this pull request Sep 29, 2016
Manually cut releases of each package #2441
Closed
@theacodes theacodes unassigned daspecster and dhermes Sep 28, 2018
parthea pushed a commit that referenced this pull request Sep 22, 2023
@anguillanneuf @danoscarmike
Use video_path fixture [(#2363)](GoogleCloudPlatform/python-docs-samp…
c97bd26
…les#2363)
parthea added a commit that referenced this pull request Nov 24, 2025
@parthea
docs: update copyright year (#2363)
be6efe0
parthea pushed a commit that referenced this pull request Apr 1, 2026
@tswast
chore: create a release (#2363)
b2f83ed
Thank you for opening a Pull Request! Before submitting your PR, there
are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a
[bug/issue](https://github.com/googleapis/python-bigquery-dataframes/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@dhermes dhermes dhermes approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@tseaver @dhermes @daspecster @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.