On Tuesday, 12 January 2021 at 20:04:00 UTC, Paul Backus wrote:
On Tuesday, 12 January 2021 at 19:49:10 UTC, jmh530 wrote:
I'd rather put the import at the top of the file, or in a
version(unittest) block than that. The problem with those
approaches is that if you have an example unittest, then when
a user tries to run it then they have to put the import in
themselves.
Seems like the obvious solution is to put the import inside the
unittest.
I mean, I'm not chomping at the bit for it, or this DIP. If
things stay as they are, then I'll keep doing what I'm doing.