Message304729
Create a package `pkg`. Put `test.py` there. Write `none = None` in `pkg/__init__.py`.
In the directory containing `pkg/`, `python [23] -m unittest pkg.test` will terminate normally, but `python [23] -m unittest discover pkg` will raise `ImportError`. The phenomenon is the same in macOS Sierra, Debian 9.0, Windows 7. I do not think this is a very kind behavior.
Thank you. |
|
| Date |
User |
Action |
Args |
| 2017-10-22 06:06:57 | Hiroki “h2” Horiuchi | set | recipients:
+ Hiroki “h2” Horiuchi, paul.moore, ronaldoussoren, tim.golden, ned.deily, zach.ware, steve.dower |
| 2017-10-22 06:06:57 | Hiroki “h2” Horiuchi | set | messageid: <1508652417.45.0.213398074469.issue31840@psf.upfronthosting.co.za> |
| 2017-10-22 06:06:57 | Hiroki “h2” Horiuchi | link | issue31840 messages |
| 2017-10-22 06:06:56 | Hiroki “h2” Horiuchi | create | |
|