Skip to content
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

Unit tests emit quite a few warnings #957

Closed
plamut opened this issue Sep 9, 2021 · 0 comments · Fixed by #973
Closed

Unit tests emit quite a few warnings #957

plamut opened this issue Sep 9, 2021 · 0 comments · Fixed by #973
Assignees
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. testing type: cleanup An internal cleanup or hygiene concern.

Comments

@plamut
Copy link
Contributor

plamut commented Sep 9, 2021

It appears that recent additions resulted in several warning messages when running unit tests:

PytestUnknownMarkWarning: Unknown pytest.mark.enable_add_server_timeout_header - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
    @pytest.mark.enable_add_server_timeout_header
...
FutureWarning: Assigning CRS to a GeoDataFrame without a geometry column is now deprecated and will not be supported in the future.
    return geopandas.GeoDataFrame(crs=_COORDINATE_REFERENCE_SYSTEM)
...
UserWarning: Geometry is in a geographic CRS. Results from 'area' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.

At least those that we have control over (e.g. user warnings) should be addressed to reduce the noise.

@plamut plamut added type: cleanup An internal cleanup or hygiene concern. testing labels Sep 9, 2021
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Sep 9, 2021
@plamut plamut self-assigned this Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. testing type: cleanup An internal cleanup or hygiene concern.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant