I think it's a common Python technique, but I may be mistaken.sub foo { ... } unless (caller) { ... your tests go here ... }
In reply to Re: Embedding tests?
by JavaFan
in thread Embedding tests?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |