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
906091b5
Commit
906091b5
authored
Aug 07, 2014
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#22092: use absolute imports in unittest tests. Patch by Vajrasky Kok.
parent
a33c8436
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
5 deletions
+8
-5
Lib/unittest/test/test_case.py
Lib/unittest/test/test_case.py
+1
-1
Lib/unittest/test/test_discovery.py
Lib/unittest/test/test_discovery.py
+1
-0
Lib/unittest/test/test_functiontestcase.py
Lib/unittest/test/test_functiontestcase.py
+1
-1
Lib/unittest/test/test_program.py
Lib/unittest/test/test_program.py
+1
-0
Lib/unittest/test/test_runner.py
Lib/unittest/test/test_runner.py
+2
-1
Lib/unittest/test/test_skipping.py
Lib/unittest/test/test_skipping.py
+1
-1
Lib/unittest/test/test_suite.py
Lib/unittest/test/test_suite.py
+1
-1
No files found.
Lib/unittest/test/test_case.py
View file @
906091b5
...
...
@@ -9,7 +9,7 @@ from test import test_support
import
unittest
from
.support
import
(
from
unittest.test
.support
import
(
TestEquality
,
TestHashing
,
LoggingResult
,
ResultWithNoStartTestRunStopTestRun
)
...
...
Lib/unittest/test/test_discovery.py
View file @
906091b5
...
...
@@ -3,6 +3,7 @@ import re
import
sys
import
unittest
import
unittest.test
class
TestDiscovery
(
unittest
.
TestCase
):
...
...
Lib/unittest/test/test_functiontestcase.py
View file @
906091b5
import
unittest
from
.support
import
LoggingResult
from
unittest.test
.support
import
LoggingResult
class
Test_FunctionTestCase
(
unittest
.
TestCase
):
...
...
Lib/unittest/test/test_program.py
View file @
906091b5
...
...
@@ -3,6 +3,7 @@ from cStringIO import StringIO
import
os
import
sys
import
unittest
import
unittest.test
class
Test_TestProgram
(
unittest
.
TestCase
):
...
...
Lib/unittest/test/test_runner.py
View file @
906091b5
...
...
@@ -3,7 +3,8 @@ import unittest
from
cStringIO
import
StringIO
import
pickle
from
.support
import
LoggingResult
,
ResultWithNoStartTestRunStopTestRun
from
unittest.test.support
import
(
LoggingResult
,
ResultWithNoStartTestRunStopTestRun
)
class
TestCleanUp
(
unittest
.
TestCase
):
...
...
Lib/unittest/test/test_skipping.py
View file @
906091b5
import
unittest
from
.support
import
LoggingResult
from
unittest.test
.support
import
LoggingResult
class
Test_TestSkipping
(
unittest
.
TestCase
):
...
...
Lib/unittest/test/test_suite.py
View file @
906091b5
import
unittest
import
sys
from
.support
import
LoggingResult
,
TestEquality
from
unittest.test
.support
import
LoggingResult
,
TestEquality
### Support code for Test_TestSuite
...
...
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