home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1275067046

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/7154#issuecomment-1275067046 https://api.github.com/repos/pydata/xarray/issues/7154 1275067046 IC_kwDOAMm_X85L__qm 2448579 2022-10-11T17:54:27Z 2022-10-11T17:55:03Z MEMBER

Thanks! This seems to work (see https://docs.pytest.org/en/7.1.x/how-to/usage.html#specifying-which-tests-to-run).

```

pytest -k "H5NetCDF" ==================================================================================================================================================== test session starts ===================================================================================================================================================== platform darwin -- Python 3.10.6, pytest-7.1.3, pluggy-1.0.0 rootdir: /Users/dcherian/work/python/xarray, configfile: setup.cfg, testpaths: xarray/tests, properties plugins: xdist-2.5.0, forked-1.4.0, env-0.6.2, hypothesis-6.56.1, cov-4.0.0 collected 15998 items / 15723 deselected / 1 skipped / 275 selected

xarray/tests/test_backends.py .......................X.......x.......................................ss...................................X.......x.......................................ss...................................X.......x.......................................ss.............................. [ 99%] xarray/tests/test_distributed.py .. [100%]

====================================================================================================================================================== warnings summary ====================================================================================================================================================== xarray/tests/test_backends.py::TestH5NetCDFData::test_zero_dimensional_variable /Users/dcherian/mambaforge/envs/xarray-release/lib/python3.10/site-packages/cfgrib/xarray_plugin.py:11: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(xr.version) <= "0.17.0":

xarray/tests/test_backends.py::TestH5NetCDFData::test_zero_dimensional_variable /Users/dcherian/mambaforge/envs/xarray-release/lib/python3.10/site-packages/setuptools/_distutils/version.py:346: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. other = LooseVersion(other)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =============================================================================================================== 263 passed, 7 skipped, 15723 deselected, 3 xfailed, 3 xpassed, 2 warnings in 86.98s (0:01:26) ================================================================================================================ /Users/dcherian/mambaforge/envs/xarray-release/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown ```

And I do something similar in flox with the groupby tests. It works really well!

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
  1404926762
Powered by Datasette · Queries took 0.83ms · About: xarray-datasette