Skip to content

Commit 0170e1b

Browse files
committed
Indicate that modules_to_block should be names not modules.
1 parent e6f701b commit 0170e1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Doc/library/test.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1904,7 +1904,7 @@ Lazy imports
19041904

19051905
.. function:: ensure_lazy_imports(imported_module, modules_to_block, *, additional_code=None)
19061906

1907-
Test that when *imported_module* is imported, none of the modules in *modules_to_block*
1907+
Test that when *imported_module* is imported, none of the modules named in *modules_to_block*
19081908
are imported as a side effect.
19091909

19101910
*additional_code* if given should be additional python source code to execute before

0 commit comments

Comments
 (0)