-
Notifications
You must be signed in to change notification settings - Fork 7
/
CHANGELOG.txt
103 lines (75 loc) · 2.15 KB
/
CHANGELOG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
----
News
----
1.2.9
-----
New
~~~
- pkg: add initial conda recipe and workflow (plus .gitattributes)
[Stephen L Arnold]
- Add some flake8 cleanup and tool cfgs. [Stephen L Arnold]
Changes
~~~~~~~
- Use nose wth coverage and detailed-errors for smoke test. [Stephen L
Arnold]
Fix
~~~
- Replace os.path.isfile in lookup_by_name (fails on windows <py38)
[Stephen L Arnold]
Other
~~~~~
- cleanup python/pkg versions, update tox cfg, switch CI [Stephen L
Arnold]
1.2.8
-----
* python3 (+ tox) support! (Marc Abramowitz)
1.2.7
-----
* Fix for mocking proxy objects. Worked in 1.2.5 but broken in 1.2.6 by the
change to allow mocking static methods. Reported by Randy Syring.
* bugfix: ``mock_show_attrs`` was immutable after initialization because the
``mock_`` prefix was accidentally left off in ``Mock.__setattr__`` (Yusuke
Muraoka)
1.2.6
-----
* Allow changing the tracker on a mock object once it's been set (James Brady)
* Support doctest use case (Israel Tsadok)
* Fix issue 1: setting mock_returns_iter on existing Mock object (kenmacd)
* Fix issue 2: static methods become unbound methods after mock + restore
1.2.5
-----
* Deprecate ``MockTracker``. ``TraceTracker`` should be used instead.
1.2.4
-----
* Fix show_attrs=True bug (Kendrick Shaw)
1.2.3
-----
* Explicitly passing ``tracker=None`` to the ``Mock`` constructor now
suppresses tracking. If ``tracker`` is not passed it will still use
``Printer(sys.stdout)`` as before.
1.2.2
-----
* Added ``MinimockOutputChecker`` which normalizes whitespace in function call
traces; ``TraceTracker`` now uses this instead of ``doctest.OutputChecker``
(Ben Finney)
1.2.1
-----
* Allow mocking of built-in functions.
1.2
---
* Added ``TraceTracker``, a better ``Tracker`` to use with unittests (James Brady)
1.1
---
* Added ``MockTracker`` for use with unittests rather than doctests (James Brady)
1.0
---
* Fixed setting special attributes like ``mock_returns`` on
already-created Mock objects (Toby White)
* Separated out printing to a class that accepts call information
and provided an implementation that prints calls to a file.
0.9
---
* Added ``show_attrs``
0.8
---
First official release.