Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c0b631c0
Commit
c0b631c0
authored
Feb 03, 2013
by
Brett Cannon
Browse files
Options
Browse Files
Download
Plain Diff
merge w/ 3.3
parents
02b9d6ec
7a34f02f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
Lib/test/test_importlib/test_api.py
Lib/test/test_importlib/test_api.py
+0
-6
No files found.
Lib/test/test_importlib/test_api.py
View file @
c0b631c0
...
...
@@ -183,12 +183,6 @@ class StartupTests(unittest.TestCase):
# Issue #17098: all modules should have __loader__ defined.
for
name
,
module
in
sys
.
modules
.
items
():
if
isinstance
(
module
,
types
.
ModuleType
):
# pyexpat/xml.parsers.expat have submodules that it creates
# by hand and do not set __loader__, which is acceptable.
if
'expat'
in
name
:
continue
self
.
assertTrue
(
hasattr
(
module
,
'__loader__'
),
'{!r} lacks a __loader__ attribute'
.
format
(
name
))
if
name
in
sys
.
builtin_module_names
:
self
.
assertIn
(
module
.
__loader__
,
(
importlib
.
machinery
.
BuiltinImporter
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment