Commit caebfc64 authored by Denis Bilenko's avatar Denis Bilenko

update test__pool.py

parent e6273774
......@@ -148,9 +148,9 @@ class PoolBasicTests(greentest.TestCase):
result = p.apply(lambda a: ('foo', a), (1, ))
self.assertEqual(result, ('foo', 1))
def test_init_zerosize(self):
def test_init_error(self):
self.switch_expected = False
self.assertRaises(ValueError, self.klass, 0)
self.assertRaises(ValueError, self.klass, -1)
#
# tests from standard library test/test_multiprocessing.py
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment