Skip to content

avoid redundant cleanup fixture in gen_test tests - #6118

Merged
mrocklin merged 1 commit into
dask:mainfrom
graingert:remove-redundant-cleanup
Apr 13, 2022
Merged

mrocklin merged 1 commit into
dask:mainfrom
graingert:remove-redundant-cleanup

Conversation

@graingert

Copy link
Copy Markdown
Member

related to #6049

  • Closes #xxxx
  • Tests added / passed
  • Passes pre-commit run --all-files

gen_test calls with clean() and so makes the cleanup fixture redundant

@mrocklin

Copy link
Copy Markdown
Member

+1. Will merge on passed tests

@mrocklin

Copy link
Copy Markdown
Member

I'm seeing the following test failure:

E               pytest.PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object _needs_document_lock.<locals>._needs_document_lock_wrapper at 0x00000236567A3B40>
E               
E               Traceback (most recent call last):
E                 File "C:\Miniconda3\envs\dask-distributed\lib\warnings.py", line 506, in _warn_unawaited_coroutine
E                   warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
E               RuntimeWarning: coroutine '_needs_document_lock.<locals>._needs_document_lock_wrapper' was never awaited

I'm guessing that this is the new warnings system being noisy, and Bokeh (or our handling of Bokeh) not being clean.

@graingert

graingert commented Apr 13, 2022 •

Copy link
Copy Markdown
Member Author

@mrocklin

Copy link
Copy Markdown
Member

Woot. Thanks for fixing upstream

@github-actions

Copy link
Copy Markdown
Contributor

Unit Test Results

       16 files  +       4         16 suites  +4   7h 23m 16s ⏱️ + 1h 57m 46s
  2 737 tests +       3    2 655 ✔️ +     12       81 💤  -     9  0 ❌ ±0  1 🔥 ±0 
21 782 runs  +5 421  20 704 ✔️ +5 145  1 077 💤 +276  0 ❌ ±0  1 🔥 ±0 

For more details on these errors, see this check.

Results for commit 717ca4e. ± Comparison against base commit 7d55039.

@mrocklin
mrocklin merged commit 19b50d7 into dask:main Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants