BTW- as a followup, I just created a fresh virtualenv and ran "pip install twisted && pip install nevow && trial nevow".
The twisted install prior to the nevow install is required because of the ticket this branch attempts to address.
The result is that everything and unittests ran [1], so I believe that importing setup.py in the unittests would be changing a policy, whether that policy is explicit or not.
BTW- as a followup, I just created a fresh virtualenv and ran "pip install twisted && pip install nevow && trial nevow".
The twisted install prior to the nevow install is required because of the ticket this branch attempts to address.
The result is that everything and unittests ran [1], so I believe that importing setup.py in the unittests would be changing a policy, whether that policy is explicit or not.
[1] Unfortunately the test result counts were:
FAILED (skips=28, expectedFailures=2, failures=1, errors=12, successes=711)