xorbitsai / xoscar

Python actor framework for heterogeneous computing.
https://xoscar.dev
Apache License 2.0
91 stars 21 forks source link

BUG: Modify match words for catching error message #37

Closed aresnow1 closed 1 year ago

aresnow1 commented 1 year ago

What do these changes do?

For some versions of Python, it raises RuntimeError: cannot schedule new futures after shutdown, use "cannot schedule new futures " to match error message.

Related issue number

Fixes #xxxx

Check code requirements

codecov[bot] commented 1 year ago

Codecov Report

Merging #37 (71fba23) into main (1ea9836) will increase coverage by 1.52%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   92.08%   93.61%   +1.52%     
==========================================
  Files          43       43              
  Lines        3399     3399              
  Branches      675      675              
==========================================
+ Hits         3130     3182      +52     
+ Misses        197      145      -52     
  Partials       72       72              
Flag Coverage Δ
unittests 93.46% <ø> (+1.47%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
python/xoscar/backends/indigen/pool.py 93.33% <ø> (ø)
python/xoscar/backends/pool.py 95.94% <ø> (ø)

... and 6 files with indirect coverage changes