Cyclic dependency between twisted.test.test_failure and twisted.test.generator_failure_tests
|Reported by:||exarkun||Owned by:|
(github, coverage, patch, buildbot, log)
test_failure imports generator_failure_tests. generator_failure_tests imports test_failure. This works as long as test_failure gets loaded first, but fails as soon as you try to start with generator_failure_tests (which you can observe by picking them specifically with trial: trial twisted.test.generator_failure_tests).
The dependency is really shallow though, so it should be easy to fix.
This is something that was discovered in the #1784, and the fix is pulled straight from that branch as well.
Change History (6)
comment:4 Changed 6 years ago by jesstess
- Cc jesstess added
- Keywords tests easy review removed
- Owner set to exarkun