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

Unified Diff: Lib/test/test_importlib/import_/test_api.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_api.py Fri Dec 12 12:00:02 2014 -0500
+++ b/Lib/test/test_importlib/import_/test_api.py Fri Dec 12 12:23:43 2014 -0500
@@ -17,6 +17,10 @@
return spec
@staticmethod
+ def create_module(spec):
+ return None
+
+ @staticmethod
def exec_module(module):
if module.__name__ == SUBMOD_NAME:
raise ImportError('I cannot be loaded!')

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