Commit 675e7e6
Roy Wellington Ⅳ
Remove unittest2 in Python 2.7.
There's no reason to use it in Python 2.7:
* Everything that unittest2 adds is already present in Python 2.7.
* Older versions of unittest2 have a nasty bug whereby its base class does not
call super(); this can result in some mix-in class's setUp()s not being
called at all.
* It's no longer maintained.1 parent 4838ba9 commit 675e7e6
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
0 commit comments