Fixed pytest plugin with new import hook typechecker syntax

This commit is contained in:
Patrick Kidger
2023-03-05 12:19:14 -08:00
parent e03c1c329e
commit c232eeaa89
+1 -1
View File
@@ -52,4 +52,4 @@ def pytest_configure(config):
)
raise RuntimeError(message.format(", ".join(already_imported_packages)))
install_import_hook(packages, typechecker.rsplit(".", 1))
install_import_hook(packages, typechecker)