Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Boxiang Sun
Pyston
Commits
3e957acb
Commit
3e957acb
authored
Sep 11, 2016
by
Kevin Modzelewski
Committed by
Kevin Modzelewski
Sep 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change these to absolute imports
needed because of how we symlink things
parent
7f1d9eb9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
from_cpython/Lib/test/test_future5.py
from_cpython/Lib/test/test_future5.py
+2
-2
from_cpython/Lib/test/test_imaplib.py
from_cpython/Lib/test/test_imaplib.py
+2
-2
from_cpython/Lib/test/test_msilib.py
from_cpython/Lib/test/test_msilib.py
+2
-1
No files found.
from_cpython/Lib/test/test_future5.py
View file @
3e957acb
# expected: fail
# Check that multiple features can be enabled.
# Check that multiple features can be enabled.
from
__future__
import
unicode_literals
,
print_function
from
__future__
import
unicode_literals
,
print_function
import
sys
import
sys
import
unittest
import
unittest
from
.
import
test_support
# Pyston change: changed to absolute import
from
test
import
test_support
class
TestMultipleFeatures
(
unittest
.
TestCase
):
class
TestMultipleFeatures
(
unittest
.
TestCase
):
...
...
from_cpython/Lib/test/test_imaplib.py
View file @
3e957acb
# expected: fail
from
test
import
test_support
as
support
from
test
import
test_support
as
support
# If we end up with a significant number of tests that don't require
# If we end up with a significant number of tests that don't require
# threading, this test module should be split. Right now we skip
# threading, this test module should be split. Right now we skip
...
@@ -11,7 +10,8 @@ import os.path
...
@@ -11,7 +10,8 @@ import os.path
import
SocketServer
import
SocketServer
import
time
import
time
from
test_support
import
reap_threads
,
verbose
,
transient_internet
# Pyston change: changed to absolute import
from
test.test_support
import
reap_threads
,
verbose
,
transient_internet
import
unittest
import
unittest
try
:
try
:
...
...
from_cpython/Lib/test/test_msilib.py
View file @
3e957acb
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
""" Test suite for the code in msilib """
""" Test suite for the code in msilib """
import
unittest
import
unittest
import
os
import
os
from
test_support
import
run_unittest
,
import_module
# Pyston change: changed to an absolute import due to our changed way of running the tests
from
test.test_support
import
run_unittest
,
import_module
msilib
=
import_module
(
'msilib'
)
msilib
=
import_module
(
'msilib'
)
class
Test_make_id
(
unittest
.
TestCase
):
class
Test_make_id
(
unittest
.
TestCase
):
...
...
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