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
9c02c2ff
Commit
9c02c2ff
authored
Nov 03, 2010
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanups to unittest doc.
parent
4370b301
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/library/unittest.rst
Doc/library/unittest.rst
+4
-4
No files found.
Doc/library/unittest.rst
View file @
9c02c2ff
...
...
@@ -914,7 +914,7 @@ Test cases
.. versionadded:: 3.1
.. method:: assertIsInstance(obj, cls
[, msg]
)
.. method:: assertIsInstance(obj, cls
, msg=None
)
This signals a test failure if *obj* is not an instance of *cls* (which
can be a class or a tuple of classes, as supported by :func:`isinstance`).
...
...
@@ -922,7 +922,7 @@ Test cases
.. versionadded:: 3.2
.. method:: assertNotIsInstance(obj, cls
[, msg]
)
.. method:: assertNotIsInstance(obj, cls
, msg=None
)
The inverse of the :meth:`assertIsInstance` method. This signals a test
failure if *obj* is an instance of *cls*.
...
...
@@ -1258,7 +1258,7 @@ Test cases
.. method:: assertMultiLineEqual(
self,
first, second, msg=None)
.. method:: assertMultiLineEqual(first, second, msg=None)
Test that the multiline string *first* is equal to the string *second*.
When not equal a diff of the two strings highlighting the differences
...
...
@@ -1562,7 +1562,7 @@ Loading and running tests
:class:`TestLoader` objects have the following methods:
a
.. method:: loadTestsFromTestCase(testCaseClass)
Return a suite of all tests cases contained in the :class:`TestCase`\ -derived
...
...
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