diff --git a/testing/test_pathlib.py b/testing/test_pathlib.py index bfbfb42f17..da3a9ad06a 100644 --- a/testing/test_pathlib.py +++ b/testing/test_pathlib.py @@ -592,6 +592,7 @@ def test_scandir_handles_os_error(): # Verify that the is_file method was called on the mock entry mock_entry.is_file.assert_called_once() + class TestImportLibMode: def test_importmode_importlib_with_dataclass( self, tmp_path: Path, ns_param: bool