You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran black python/ray/tests/test_resource_demand_scheduler.py but got the message
error: cannot format python/ray/tests/test_resource_demand_scheduler.py: INTERNA
L ERROR: Black produced different code on the second pass of the formatter. Ple
ase report a bug on https://github.com/psf/black/issues. This diff might be hel
pful: /var/folders/gx/t32twm6x54dftn9b2wxcbl100000gn/T/blk_ac9kaaka.log
Oh no! 💥 💔 💥
1 file failed to reformat.
I'm not sure why the error occurs, but it seems to be related to the assertions at the end of test_add_min_workers_nodes(). If we disable formatting on the assertions, we're able to format the rest of the module.
Ray Component
Core
What happened + What you expected to happen
I ran
black python/ray/tests/test_resource_demand_scheduler.py
but got the messageI'm not sure why the error occurs, but it seems to be related to the assertions at the end of
test_add_min_workers_nodes()
. If we disable formatting on the assertions, we're able to format the rest of the module.Versions / Dependencies
3.8.12
macOS 11.5.2
21.12b0
14ed7cfaaa8f890204619c149d4d50b5857c3cd6
Reproduction script
black python/ray/tests/test_resource_demand_scheduler.py
The text was updated successfully, but these errors were encountered: