diff --git a/src/diffusers/testing_utils.py b/src/diffusers/doctest_utils.py similarity index 99% rename from src/diffusers/testing_utils.py rename to src/diffusers/doctest_utils.py index 35d80fd2f17c..ac98f5c632ce 100644 --- a/src/diffusers/testing_utils.py +++ b/src/diffusers/doctest_utils.py @@ -115,7 +115,7 @@ class HfDoctestModule(Module): tests. """ - def collect(self) -> Iterable[DoctestItem]: + def collect(self) -> Iterable["DoctestItem"]: class MockAwareDocTestFinder(doctest.DocTestFinder): """A hackish doctest finder that overrides stdlib internals to fix a stdlib bug. diff --git a/src/diffusers/utils/not_doctested.txt b/src/diffusers/utils/not_doctested.txt deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/src/diffusers/utils/check_doctest_list.py b/utils/check_doctest_list.py similarity index 100% rename from src/diffusers/utils/check_doctest_list.py rename to utils/check_doctest_list.py