Author michael.foord
Recipients barry, chris.jerdonek, elopio, michael.foord, r.david.murray, rbcollins, vila, zach.ware
Date 2013-09-07.23:54:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378598097.35.0.692183456205.issue16662@psf.upfronthosting.co.za>
In-reply-to
Content
I get a couple of test failures with this patch applied:

======================================================================
ERROR: test_find_tests (unittest.test.test_discovery.TestDiscovery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/compile/cpython/Lib/unittest/test/test_discovery.py", line 72, in test_find_tests
    suite = list(loader._find_tests(top_level, 'test*.py'))
  File "/compile/cpython/Lib/unittest/loader.py", line 298, in _find_tests
    tests = self.loadTestsFromModule(package, use_load_tests=False)
TypeError: <lambda>() got an unexpected keyword argument 'use_load_tests'

======================================================================
FAIL: test_find_tests_with_package (unittest.test.test_discovery.TestDiscovery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/compile/cpython/Lib/unittest/test/test_discovery.py", line 137, in test_find_tests_with_package
    ['load_tests', 'test_directory2' + ' module tests'])
AssertionError: Lists differ: ['a_directory module tests', '... != ['load_tests', 'test_directory...

First differing element 0:
a_directory module tests
load_tests

First list contains 1 additional elements.
First extra element 2:
test_directory2 module tests

- ['a_directory module tests', 'load_tests', 'test_directory2 module tests']
?  ----------------------------

+ ['load_tests', 'test_directory2 module tests']

----------------------------------------------------------------------
History
Date User Action Args
2013-09-07 23:54:57michael.foordsetrecipients: + michael.foord, barry, rbcollins, vila, r.david.murray, chris.jerdonek, zach.ware, elopio
2013-09-07 23:54:57michael.foordsetmessageid: <1378598097.35.0.692183456205.issue16662@psf.upfronthosting.co.za>
2013-09-07 23:54:57michael.foordlinkissue16662 messages
2013-09-07 23:54:56michael.foordcreate