[issue36554] unittest.TestCase: "subTest" cannot be used together with "debug"

2019-04-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- resolution: -> duplicate superseder: -> unittest subTests() fails when called from debug() ___ Python tracker ___

[issue36554] unittest.TestCase: "subTest" cannot be used together with "debug"

2019-04-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks, just confirmed the commit fix with the given file. -- ___ Python tracker ___

[issue36554] unittest.TestCase: "subTest" cannot be used together with "debug"

2019-04-08 Thread Dieter Maurer
Dieter Maurer added the comment: This is a duplicate of issue34900 -- stage: -> resolved status: open -> closed Added file: https://bugs.python.org/file48249/utest.py ___ Python tracker

[issue36554] unittest.TestCase: "subTest" cannot be used together with "debug"

2019-04-08 Thread Dieter Maurer
Change by Dieter Maurer : Added file: https://bugs.python.org/file48248/utest.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36554] unittest.TestCase: "subTest" cannot be used together with "debug"

2019-04-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please provide an example script to reproduce this? There is similar None check fixed with issue34900 -- nosy: +xtreak ___ Python tracker

[issue36554] unittest.TestCase: "subTest" cannot be used together with "debug"

2019-04-08 Thread Dieter Maurer
New submission from Dieter Maurer : "subTest" accesses "self._outcome" which is "None" when the test is performed via "debug". -- components: Library (Lib) messages: 339607 nosy: dmaurer priority: normal severity: normal status: open title: unittest.TestCase: "subTest" cannot be used