- 
  Notifications
 You must be signed in to change notification settings 
- Fork 1.1k
Commit f672353
unittest-discover: Print results when no tests are found/run.
Prior to this commit, if no tests were found when running unittest discover
then nothing at all was written to stdout, leading one to think it's not
working at all. CPython unittest does display a "0 tests run" sort of
output in such a case, and this commit ensures this package does the same.1 parent ea21cb3 commit f672353
File tree
4 files changed
+16
-11
lines changed- python-stdlib- unittest-discover- unittest
 
- unittest- unittest
 
 
4 files changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 1 | - | ||
| 1 | + | ||
| 2 | 2 |  | |
| 3 | 3 |  | |
| 4 | 4 |  | |
|  | |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 111 | 111 |  | |
| 112 | 112 |  | |
| 113 | 113 |  | |
| 114 | - | ||
| 115 | 114 |  | |
| 116 | 115 |  | |
| 117 | 116 |  | |
|  | |||
| 121 | 120 |  | |
| 122 | 121 |  | |
| 123 | 122 |  | |
| 124 | - | ||
| 125 | 123 |  | |
| 124 | + | ||
| 126 | 125 |  | |
| 127 | 126 |  | |
| 128 | 127 |  | |
| 129 | 128 |  | |
| 130 | 129 |  | |
| 131 | - | ||
| 130 | + | ||
| 132 | 131 |  | |
| 133 | 132 |  | |
| 134 | - | ||
| 133 | + | ||
| 135 | 134 |  | |
| 136 | - | ||
| 135 | + | ||
| 136 | + | ||
| 137 | + | ||
| 138 | + | ||
| 139 | + | ||
| 140 | + | ||
| 137 | 141 |  | |
| 138 | 142 |  | |
| 139 | - | ||
| 143 | + | ||
| 140 | 144 |  | |
| 141 | 145 |  | |
| 142 | 146 |  | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 1 | - | ||
| 1 | + | ||
| 2 | 2 |  | |
| 3 | 3 |  | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 300 | 300 |  | |
| 301 | 301 |  | |
| 302 | 302 |  | |
| 303 | - | ||
| 304 | - | ||
| 305 | - | ||
| 303 | + | ||
| 304 | + | ||
| 305 | + | ||
| 306 | + | ||
| 306 | 307 |  | |
| 307 | 308 |  | |
| 308 | 309 |  | |
|  | |||
0 commit comments