Description
This is related to #6806 & #6897, but I thought it was separate enough to open an issue.
We import utils_test
in xarray's test suite. Currently importing distributed.utils_test
does work, including opening ports.
I'm guessing this is caused by
distributed/distributed/utils_test.py
Line 113 in 8b3dcad
Beyond just doing more work than I'd expect on import — on a MacOS machine, it pops open a system dialog asking whether that's OK, every time. And if someone is running something on each file save, this happens on every file save. By default, VSCode will search for tests on every file save, so will trigger this.
I don't have enough context to know for sure whether there's some immovable constraint that requires this. But would it be possible to put that in a fixture?
Thanks as ever!