Changes by Martin Panter vadmium...@gmail.com:
--
dependencies: +Add means to mark unittest.TestCases as do not load.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22680
___
Robert Collins added the comment:
Thanks for this. I think that a better approach would be the other linked bug -
we can kill many birds with one stone.
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Robert Collins robe...@robertcollins.net:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22680
___
Evan Hubinger added the comment:
I wrote a patch to blacklist FunctionTestCase in TestLoader, and a test to make
sure FunctionTestCase doesn't show up in the TestSuite after loading a module
that includes it. The test runs successfully. This is my first patch, so
feedback would be appreciated
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: -ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22680
___
___
Python-bugs-list
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22680
___
___
Python-bugs-list
Martin Panter added the comment:
Assuming that FunctionTestCase inherits from TestCase, a fix for Issue 14534
would be useful here. That bug is about avoiding TestCase subclasses being
automatically run, which is useful for abstract base test classes.
--
Michael Foord added the comment:
I agree.
--
title: unittest discovery is fragile - Blacklist FunctionTestCase from test
discovery
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22680
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22680
___
___
Python-bugs-list