diff options
author | Michael Foord <michael@voidspace.org.uk> | 2013-02-11 13:33:00 (GMT) |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2013-02-11 13:33:00 (GMT) |
commit | 890d72d3c9896812a4bb07e785b273d1e6b001b0 (patch) | |
tree | 4cad6b7bb54be19e838596b88bb34b696341c606 /Lib/unittest/test | |
parent | 3420057adbb1076875e448c52f03d9e3b2a40956 (diff) | |
parent | b71b8ec7b1d3ae8eb4f446387f766aea7d7d831b (diff) | |
download | cpython-890d72d3c9896812a4bb07e785b273d1e6b001b0.zip cpython-890d72d3c9896812a4bb07e785b273d1e6b001b0.tar.gz cpython-890d72d3c9896812a4bb07e785b273d1e6b001b0.tar.bz2 |
Merge. Closes issue 17052.
Diffstat (limited to 'Lib/unittest/test')
-rw-r--r-- | Lib/unittest/test/test_discovery.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/test/test_discovery.py b/Lib/unittest/test/test_discovery.py index eba269f..1fdf991 100644 --- a/Lib/unittest/test/test_discovery.py +++ b/Lib/unittest/test/test_discovery.py @@ -269,7 +269,7 @@ class TestDiscovery(unittest.TestCase): self.args.append((start_dir, pattern, top_level_dir)) return 'tests' - program.testLoader = Loader + program.testLoader = Loader() program._do_discovery(['-v']) self.assertEqual(Loader.args, [('.', 'test*.py', None)]) |