On 07/06/12 14:07, Les Nightingill wrote:
> is it possible to pull all the test-only pieces of code from a "test_only" 
> file, that is ignored by git. Include the test code in such a way that if 
> the "test_only" file is not present, the production code still holds 
> together.

Because the test code uses the code above, I suspect that would
either create problematic circular imports or would require passing
the entire contents of the module namespace into the debugging
function.  It's also more convenient to have the testing code in the
same file that's being tested, though that's not a deal-breaker.


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to