Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-python-testing-cabal-mock
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
fuchsia.googlesource.com-third_party-python-testing-cabal-mock
Commits
88b6b4c0
Commit
88b6b4c0
authored
14 years ago
by
Michael Foord
Browse files
Options
Downloads
Patches
Plain Diff
Changelog changes
parent
4f4cdf32
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/changelog.txt
+3
-3
3 additions, 3 deletions
docs/changelog.txt
with
3 additions
and
3 deletions
docs/changelog.txt
+
3
−
3
View file @
88b6b4c0
...
...
@@ -72,11 +72,12 @@ Full set of changes since 0.6.0:
in the repr
* repr of a mock with a spec includes the class name of the spec
* `assert_called_with` works with `python -OO`
* New `spec_set` keyword argument to `Mock` and `patch`. If
this is
se
t
,
* New `spec_set` keyword argument to `Mock` and `patch`. If
u
se
d
,
attempting to *set* an attribute on a mock not on the spec will raise an
`AttributeError`
* Mocks created with a spec can now pass `isinstance` tests (`__class__`
returns the type of the spec)
* Added docstrings to all objects
* Improved failure message for `Mock.assert_called_with` when the mock
has not been called at all
* BUGFIX: mocks are now copyable (thanks to Ned Batchelder for reporting and
...
...
@@ -90,7 +91,6 @@ Full set of changes since 0.6.0:
* BUGFIX: patching the same object twice now restores the patches correctly
* with statement tests now skipped on Python 2.4
* Tests require unittest2 to run
* Improved several docstrings and documentation
* Added 'build_sphinx' command to setup.py (requires setuptools or distribute)
Thanks to Florian Bauer
* Switched from subversion to mercurial for source code control
...
...
@@ -105,7 +105,7 @@ Full set of changes since 0.6.0:
* Addition of `assert_called_once_with` method
* repr of a mock with a spec includes the class name of the spec
* `assert_called_with` works with `python -OO`
* New `spec_set` keyword argument to `Mock` and `patch`. If
this is
se
t
,
* New `spec_set` keyword argument to `Mock` and `patch`. If
u
se
d
,
attempting to *set* an attribute on a mock not on the spec will raise an
`AttributeError`
* Attributes and return value of a `MagicMock` are `MagicMock` objects
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment