diff --git a/tests/integration/pydantic/conftest.py b/tests/integration/pydantic/conftest.py index 624c119..7c61a40 100644 --- a/tests/integration/pydantic/conftest.py +++ b/tests/integration/pydantic/conftest.py @@ -22,8 +22,7 @@ def _inner(code_text: str, module_name: Optional[str] = None) -> ModuleType: with open(os.path.join(current_path, f"{module_name}.py"), "w+") as f: f.write(code_text) - print(current_path, "current_path") - print(package, "package") + module = importlib.import_module(f"{package}.{module_name}") return module