diff options
| author | amajorek <devnull@localhost> | 2010-03-07 04:28:25 -0500 |
|---|---|---|
| committer | amajorek <devnull@localhost> | 2010-03-07 04:28:25 -0500 |
| commit | fcafbbf322c3c38079bf05ab21db0b7a3139e867 (patch) | |
| tree | 2decb806de435b19f06336d5f0119e039c9c097d /tests/tpool_test.py | |
| parent | fcd285741b4636238b1cbdbc054f8dd53960f739 (diff) | |
| download | eventlet-fcafbbf322c3c38079bf05ab21db0b7a3139e867.tar.gz | |
py3k - more testcases ported
Diffstat (limited to 'tests/tpool_test.py')
| -rw-r--r-- | tests/tpool_test.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/tpool_test.py b/tests/tpool_test.py index 001849c..bd61e79 100644 --- a/tests/tpool_test.py +++ b/tests/tpool_test.py @@ -57,8 +57,7 @@ class TestTpool(LimitedTestCase): @skip_with_pyevent def test_wrap_uniterable(self): - # here we're treating the exception as just a normal class - prox = tpool.Proxy(FloatingPointError()) + prox = tpool.Proxy([]) def index(): prox[0] def key(): @@ -81,8 +80,8 @@ class TestTpool(LimitedTestCase): def test_wrap_module_class(self): prox = tpool.Proxy(re) self.assertEqual(tpool.Proxy, type(prox)) - exp = prox.compile('.') - self.assertEqual(exp.flags, 0) + exp = prox.compile('(.)(.)(.)') + self.assertEqual(exp.groups, 3) self.assert_(repr(prox.compile)) @skip_with_pyevent |
