Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
c9b36210
Commit
c9b36210
authored
Aug 10, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extend module reimport test.
parent
7403a237
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
tests/run/reimport_from_package.srctree
tests/run/reimport_from_package.srctree
+10
-0
No files found.
tests/run/reimport_from_package.srctree
View file @
c9b36210
...
@@ -32,3 +32,13 @@ import a
...
@@ -32,3 +32,13 @@ import a
import atest.package.module as module
import atest.package.module as module
assert module in sys.modules.values(), list(sys.modules)
assert module in sys.modules.values(), list(sys.modules)
assert sys.modules['atest.package.module'] is module, list(sys.modules)
assert sys.modules['atest.package.module'] is module, list(sys.modules)
from . import pymodule
######## atest/package/pymodule.py ########
from . import module
from ..package import module
import atest.package.module
import a
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