Message317834
> That's a weak test: if the script fails before calling spec.loader.create_module(), the test also pass. If the function raises an exception but don't crash, the test pass as well.
Marcel added PR 7145 for that -- it wraps things in try/except to catch Python-level exceptions sounds like a good solution to me. |
|
Date |
User |
Action |
Args |
2018-05-28 09:16:46 | petr.viktorin | set | recipients:
+ petr.viktorin, ncoghlan, pitrou, scoder, vstinner, docs@python, Dormouse759, miss-islington |
2018-05-28 09:16:45 | petr.viktorin | set | messageid: <1527499005.91.0.682650639539.issue32374@psf.upfronthosting.co.za> |
2018-05-28 09:16:45 | petr.viktorin | link | issue32374 messages |
2018-05-28 09:16:45 | petr.viktorin | create | |
|