diff --git a/qtrio/_tests/test_core.py b/qtrio/_tests/test_core.py index fa10def0..a319949d 100644 --- a/qtrio/_tests/test_core.py +++ b/qtrio/_tests/test_core.py @@ -163,7 +163,7 @@ async def main(): runner = qtrio.Runner(application=QtWidgets.QApplication([])) outcomes = runner.run(async_fn=main) - assert outcomes.trio.value == None + assert outcomes.trio.unwrap() == None """ testdir.makepyfile(test_file) @@ -236,7 +236,7 @@ async def main(): runner = qtrio.Runner() outcomes = runner.run(main) - assert outcomes.trio.value == threading.get_ident() + assert outcomes.trio.unwrap() == threading.get_ident() """ testdir.makepyfile(test_file)