We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In this code:
import Queue import threading import unittest class TestThread(threading.Thread): def __init__(self, started_queue, stopping_queue): threading.Thread.__init__(self) self._started_queue = started_queue self._stopping_queue = stopping_queue def run(self): print "starting thread" self.fooey() self._started_queue.put('') msg = self._stopping_queue.get() print "exiting thread" def fooey(self): print "fooey" self.booey() print "fooey out:" def booey(self): print "booey" class ThreadTest(unittest.TestCase): def test_threads(self): starting_queue = Queue.Queue() stopping_queue = Queue.Queue() thd = TestThread(starting_queue, stopping_queue) stopping_queue.put('') thd.start() starting_queue.get() thd.join() self.assertTrue(True) if __name__ == '__main__': unittest.main()
run() is marked as not covered, but fooey() and booey() are. What's up with that?
The text was updated successfully, but these errors were encountered:
Original comment by Anonymous
Yes, same bug here, with coverage 3.4b1 and python 2.6.5 or 3.1.2.
Here is an example : http://img153.imageshack.us/img153/2401/plop2.png
Sorry, something went wrong.
Fixed in <<changeset 39a76e1520aa (bb)>>.
Thank you !
Fixed cancellation propagation in inner task groups with spawn (nedba…
ccfc86a
…t#85)
No branches or pull requests
In this code:
run() is marked as not covered, but fooey() and booey() are. What's up with that?
The text was updated successfully, but these errors were encountered: