From 99798eaf36bf357f09a2c1cf19a1f9a7ef504af3 Mon Sep 17 00:00:00 2001 From: Joe Runde Date: Tue, 3 Jan 2023 16:13:40 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20fix=20frame=20generator=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Joe Runde --- test/test_lazy_import_errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_lazy_import_errors.py b/test/test_lazy_import_errors.py index c676582..f000c8d 100644 --- a/test/test_lazy_import_errors.py +++ b/test/test_lazy_import_errors.py @@ -15,7 +15,7 @@ import pytest # Local -from import_tracker.lazy_import_errors import _LazyErrorMetaFinder +from import_tracker.lazy_import_errors import _FastFrameGenerator, _LazyErrorMetaFinder import import_tracker @@ -376,7 +376,7 @@ def test_frame_generator_stop(): """For completeness, we need to ensure that the FrameGenerator will stop correctly if iterated to the end """ - list(_LazyErrorMetaFinder._FrameGenerator()) + list(_FastFrameGenerator()) def test_lazy_import_error_nested():