Skip to content

Commit 3f4a71d

Browse files
committed
Use Markdown headings
1 parent fed14cb commit 3f4a71d

1 file changed

Lines changed: 38 additions & 76 deletions

File tree

NEWS.md

Lines changed: 38 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
News in asserts 0.10.0
2-
======================
1+
## News in asserts 0.10.0
32

4-
API-Incompatible Changes
5-
------------------------
3+
### API-Incompatible Changes
64

75
* Drop support for Python 3.4.
86

9-
API Additions
10-
-------------
7+
### API Additions
118

129
* `AssertRaisesContext` and `AssertWarnsContext` now return themselves
1310
when `__enter__()` is called. By extension it now easier to call
@@ -28,87 +25,67 @@ with assert_raises(KeyError) as context:
2825
assert_equal("expected message", str(context.exc_val))
2926
```
3027

31-
News in asserts 0.9.1
32-
=====================
28+
## News in asserts 0.9.1
3329

34-
Improvements
35-
------------
30+
### Improvements
3631

3732
* `AssertRaisesContext` and sub-classes are now generic over the
3833
exception type.
3934

40-
News in asserts 0.9.0
41-
=====================
35+
## News in asserts 0.9.0
4236

43-
API Additions
44-
-------------
37+
### API Additions
4538

4639
* Add `assert_json_subset()`.
4740

48-
News in asserts 0.8.6
49-
=====================
41+
## News in asserts 0.8.6
5042

51-
Improvements
52-
------------
43+
### Improvements
5344

5445
* Add support for Python 3.7 (contributed by Frank Niessink).
5546

56-
News in asserts 0.8.5
57-
=====================
47+
## News in asserts 0.8.5
5848

59-
API Additions
60-
-------------
49+
### API Additions
6150

6251
* Add `assert_dict_equal()`.
6352
* Add `assert_dict_superset()`.
6453

65-
Improvements
66-
------------
54+
### Improvements
6755

6856
* `assert_equal()`: Use `assert_dict_equal()` if applicable.
6957

70-
News in asserts 0.8.4
71-
=====================
58+
## News in asserts 0.8.4
7259

73-
Improvements
74-
------------
60+
### Improvements
7561

7662
* `fail()` is now marked with `NoReturn` in type stub.
7763

78-
Bug Fixes
79-
---------
64+
### Bug Fixes
8065

8166
* Improve type annotations for Python 2.
8267

83-
News in asserts 0.8.3
84-
=====================
68+
## News in asserts 0.8.3
8569

86-
Bug Fixes
87-
---------
70+
### Bug Fixes
8871

8972
* Fix type signature of `AssertRaisesContext.__exit__()`.
9073

91-
News in asserts 0.8.2
92-
=====================
74+
## News in asserts 0.8.2
9375

94-
Improvements
95-
------------
76+
### Improvements
9677

9778
* Add a py.typed file to signal that this package supports type hints.
9879

99-
News in asserts 0.8.1
100-
=====================
80+
## News in asserts 0.8.1
10181

102-
Bug Fixes
103-
---------
82+
### Bug Fixes
10483

10584
* `assert_raises_regex()`: Handle exceptions without any message correctly.
10685

107-
News in asserts 0.8.0
108-
=====================
86+
## News in asserts 0.8.0
10987

110-
API-Incompatible Changes
111-
------------------------
88+
### API-Incompatible Changes
11289

11390
* Replace `msg` argument with `msg_fmt` in all assertions (except `fail()`).
11491
This allows you to customize error messages more easily than before, because
@@ -119,79 +96,64 @@ API-Incompatible Changes
11996
* assert_almost_equal(), assert_not_almost_equal(): Place msg_fmt as third
12097
argument.
12198

122-
API Additions
123-
-------------
99+
### API Additions
124100

125101
* assert_count_equal(): Add `msg_fmt` argument.
126102
* Add AssertRaisesErrnoContext, AssertRaisesRegexContext, and
127103
AssertWarnsRegexContext.
128104

129-
News in asserts 0.7.3
130-
=====================
105+
## News in asserts 0.7.3
131106

132-
API Additions
133-
-------------
107+
### API Additions
134108

135109
* Add assert_not_almost_equal().
136110

137-
Improvements
138-
------------
111+
### Improvements
139112

140113
* assert_almost_equal(): Raise ValueError if diff <= 0.
141114

142-
Bug Fixes
143-
---------
115+
### Bug Fixes
144116

145117
* assert_almost_equal() would never fail if a delta was supplied and the
146118
second number was smaller than the first.
147119
* Use fail() instead of raise AssertionError in a few assertions.
148120

149-
News in asserts 0.7.2
150-
=====================
121+
## News in asserts 0.7.2
151122

152-
API Additions
153-
-------------
123+
### API Additions
154124

155125
* Add assert_warns() and assert_warns_regex().
156126

157-
News in asserts 0.7.1
158-
=====================
127+
## News in asserts 0.7.1
159128

160129
* Distribute as wheel.
161130
* asserts is now a package, instead of a module.
162131

163-
News in asserts 0.7.0
164-
=====================
132+
## News in asserts 0.7.0
165133

166134
* Add a stub file.
167135

168-
API Additions
169-
-------------
136+
### API Additions
170137

171138
* Add assert_count_equal().
172139

173-
News in asserts 0.6
174-
===================
140+
## News in asserts 0.6
175141

176-
API Additions
177-
-------------
142+
### API Additions
178143

179144
* Add assert_less(), assert_less_equal(), assert_greater(), and
180145
assert_greater_equal().
181146
* Add assert_not_is_instance().
182147

183-
Improvements
184-
------------
148+
### Improvements
185149

186150
* assert_datetime_about_now()/assert_datetime_about_now_utc(): Handle
187151
comparison with None more gracefully.
188152

189-
News in asserts 0.5.1
190-
=====================
153+
## News in asserts 0.5.1
191154

192155
* Add the LICENSE file to the distribution.
193156

194-
News in asserts 0.5
195-
===================
157+
## News in asserts 0.5
196158

197159
Initial release.

0 commit comments

Comments
 (0)