From 110999b54c86b52d0b07333a34417a87f4a12f9a Mon Sep 17 00:00:00 2001 From: Hilary James Oliver Date: Fri, 22 Dec 2023 15:40:20 +1300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> --- .github/workflows/test_fast.yml | 2 +- tests/integration/test_task_pool.py | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_fast.yml b/.github/workflows/test_fast.yml index f779924ef90..53d6c475bc3 100644 --- a/.github/workflows/test_fast.yml +++ b/.github/workflows/test_fast.yml @@ -23,7 +23,7 @@ jobs: python-version: ['3.7', '3.8', '3.10', '3.11'] include: # mac os test - - os: 'macos-latest' + - os: 'macos-11' python-version: '3.7' # oldest supported version # non-utc timezone test - os: 'ubuntu-latest' diff --git a/tests/integration/test_task_pool.py b/tests/integration/test_task_pool.py index c334db83423..9acc3056b2a 100644 --- a/tests/integration/test_task_pool.py +++ b/tests/integration/test_task_pool.py @@ -1374,12 +1374,15 @@ async def test_runahead_future_trigger( 'initial cycle point': '2001', 'runahead limit': rhlimit, 'graph': { - 'P1D': 'a\na[+P1D] => b', + 'P1D': ''' + a + a[+P1D] => b + ''', }, } }) schd = scheduler(id_,) - async with start(schd): + async with start(schd, level=logging.DEBUG): assert str(schd.pool.runahead_limit_point) == '20010103' schd.pool.release_runahead_tasks() for itask in schd.pool.get_all_tasks():