this sort of thing happens to me too, see the following sequence of evets (I removed some lines for briefness)
$ make clean find . -name "*.pyc" -o -name "*.pyo" -o -name "*.so" | xargs rm -f
$ bt bzrlib.tests.test_osutils.TestChunksToLines.test_is_compiled ERROR: test_osutils.TestChunksToLines.test_is_compiled No module named _chunks_to_lines_pyx tests failed
$ make $ bt bzrlib.tests.test_osutils.TestChunksToLines.test_is_compiled tests passed
this sort of thing happens to me too, see the following sequence of evets (I removed some lines for briefness)
$ make clean
find . -name "*.pyc" -o -name "*.pyo" -o -name "*.so" | xargs rm -f
$ bt bzrlib. tests.test_ osutils. TestChunksToLin es.test_ is_compiled TestChunksToLin es.test_ is_compiled to_lines_ pyx
ERROR: test_osutils.
No module named _chunks_
tests failed
$ make tests.test_ osutils. TestChunksToLin es.test_ is_compiled
$ bt bzrlib.
tests passed