Re: [Python-ideas] async unittest.TestCase

2018-10-29 Thread David Shawley
Sorry if this double posted but I got a bounce from python-id...@googlegroups.com the first time that I sent it. I resent to python-ideas@python.org. On Oct 29, 2018, at 3:07 AM, Neil Girdhar wrote: > > Why not just use pytest? > I could use pytest or Martin Richard's asynctest[1]. I want

Re: [Python-ideas] async unittest.TestCase

2018-10-29 Thread Neil Girdhar
Why not just use pytest? On Wednesday, October 10, 2018 at 7:12:02 AM UTC-4, David Shawley wrote: > > Hi everyone and good morning to some of you, > > Since asyncio and the async/await syntax are both part of Python, I think > that we should extend TestCase to support it. The simplest solution

Re: [Python-ideas] async unittest.TestCase

2018-10-26 Thread David Shawley
On Oct 10, 2018, at 1:34 PM, Serhiy Storchaka wrote: > 10.10.18 20:19, Yury Selivanov пише: > > Thanks for proposing this. Yes, it makes sense to have > > unittest.AsyncTestCase in 3.8. AFAIK Lisa Roach (copied) was working > > on that (as well as on async Mock object), but I'm not sure what's

Re: [Python-ideas] async unittest.TestCase

2018-10-10 Thread Serhiy Storchaka
10.10.18 20:19, Yury Selivanov пише: Thanks for proposing this. Yes, it makes sense to have unittest.AsyncTestCase in 3.8. AFAIK Lisa Roach (copied) was working on that (as well as on async Mock object), but I'm not sure what's the status of her work. I suggest to search for an open issue for

Re: [Python-ideas] async unittest.TestCase

2018-10-10 Thread Yury Selivanov
Thanks for proposing this. Yes, it makes sense to have unittest.AsyncTestCase in 3.8. AFAIK Lisa Roach (copied) was working on that (as well as on async Mock object), but I'm not sure what's the status of her work. I suggest to search for an open issue for this on bugs.python.org; if there's

[Python-ideas] async unittest.TestCase

2018-10-10 Thread David Shawley
Hi everyone and good morning to some of you, Since asyncio and the async/await syntax are both part of Python, I think that we should extend TestCase to support it. The simplest solution that I can think of is to create unittest.AsyncTestCase sub-class with the following extensions: - create a