Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tests passing

  • Loading branch information...
commit 86d0ebc2e424f3d80d9d052074491146eac71e9e 1 parent 87a8277
@ask ask authored
View
2  celery/concurrency/solo.py
@@ -15,7 +15,7 @@ def __init__(self, *args, **kwargs):
def _get_info(self):
return {"max-concurrency": 1,
- "processes": [self.pid],
+ "processes": [os.getpid()],
"max-tasks-per-child": None,
"put-guarded-by-semaphore": True,
"timeouts": ()}
View
1  celery/tests/test_concurrency/test_concurrency_solo.py
@@ -12,7 +12,6 @@ class test_solo_TaskPool(unittest.TestCase):
def test_on_start(self):
x = solo.TaskPool()
x.on_start()
- self.assertTrue(x.pid)
def test_on_apply(self):
x = solo.TaskPool()
Please sign in to comment.
Something went wrong with that request. Please try again.