[issue25520] unittest load_tests protocol not working as documented

2016-03-13 Thread Robert Collins
Robert Collins added the comment: What version of python are you testing with? unittest 2.7 has a number of bugs vis-a-vis namespaces and discovery. If you're testing with less than 3.5, or perhaps 3.6, please try with unittest2, which has the same fixes as the stdlib unittest. -- __

[issue25520] unittest load_tests protocol not working as documented

2016-01-21 Thread Stefan Seefeld
Stefan Seefeld added the comment: I believe what I actually want is for the discovery mechanism to be fully implicit. It turns out that already *almost* works right now. What doesn't work (and what this bug report really was about initially), is the use of the 'discover' command with the '-p "

[issue25520] unittest load_tests protocol not working as documented

2016-01-21 Thread Michael Foord
Michael Foord added the comment: To find and run tests recursively from a test package you want test discovery rather than (necessarily) load_tests. For a bug report, please describe the behaviour you expect and the behaviour you're seeing instead. --

[issue25520] unittest load_tests protocol not working as documented

2016-01-20 Thread Stefan Seefeld
Stefan Seefeld added the comment: Hi, I'm investigating more issues related to test loading, and thus I have discovered issue #16662. I have found quite a number of inconsistencies and bugs in the loading of tests. But without getting a sense of what the supposed behavior is I find it difficu

[issue25520] unittest load_tests protocol not working as documented

2015-12-31 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib) versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker ___ ___ Pytho

[issue25520] unittest load_tests protocol not working as documented

2015-11-06 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord, rbcollins ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25520] unittest load_tests protocol not working as documented

2015-10-30 Thread Stefan Seefeld
New submission from Stefan Seefeld: As described in the README contained in the attached tarball, I'm observing wrong behavior. I have based this code on my understanding of https://docs.python.org/2/library/unittest.html#load-tests-protocol, but the effect isn't as expected (I see duplicate a