GeezerVison is showing github.com — Suppress module name spew when running tests. by tseaver · Pull Request #2363 · googleapis/google-cloud-python
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
pytest
|
|
|
covercmd =
|
|
|
py.test \
|
|
|
py.test -q \
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
[testenv]
|
|
|
commands =
|
|
|
py.test {posargs} unit_tests
|
|
|
py.test -q {posargs} unit_tests
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@tseaver I'm unclear what spew is being quited here. Care to give a bit more detail?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@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
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
parthea
pushed a commit
that referenced
this pull request
Apr 1, 2026
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> 🦕
Reviewers
1 more reviewer
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
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.
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.
|