Message194250
| Author |
WitcherGeralt |
| Recipients |
WitcherGeralt |
| Date |
2013年08月03日.11:53:07 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1375530787.73.0.318484624842.issue18642@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It would be pretty good, if 'assert' could raise specified exception, like that:
>>> data = None
>>> assert isinstance(data, basestring), TypeError("'data' must be a string")
<s>AssertionError</s>TypeError: 'data' must be a string |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年08月03日 11:53:07 | WitcherGeralt | set | recipients:
+ WitcherGeralt |
| 2013年08月03日 11:53:07 | WitcherGeralt | set | messageid: <1375530787.73.0.318484624842.issue18642@psf.upfronthosting.co.za> |
| 2013年08月03日 11:53:07 | WitcherGeralt | link | issue18642 messages |
| 2013年08月03日 11:53:07 | WitcherGeralt | create |
|