Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3639)

Unified Diff: Lib/test/test_importlib/import_/test___loader__.py

Issue 23014: Don't have importlib.abc.Loader.create_module() be optional
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Lib/test/test_importlib/import_/test___loader__.py Fri Dec 12 12:00:02 2014 -0500
+++ b/Lib/test/test_importlib/import_/test___loader__.py Fri Dec 12 12:23:43 2014 -0500
@@ -11,6 +11,9 @@
def find_spec(self, fullname, path=None, target=None):
return machinery.ModuleSpec(fullname, self)
+ def create_module(self, spec):
+ return None
+
def exec_module(self, module):
pass

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+