(self)
| 334 | object.__getattribute__(p, '__pending__') |
| 335 | |
| 336 | def test_maybe_evaluate(self): |
| 337 | x = PromiseProxy(lambda: 30) |
| 338 | assert not x.__evaluated__() |
| 339 | assert maybe_evaluate(x) == 30 |
| 340 | assert maybe_evaluate(x) == 30 |
| 341 | |
| 342 | assert maybe_evaluate(30) == 30 |
| 343 | assert x.__evaluated__() |
| 344 | |
| 345 | |
| 346 | class test_celery_import: |
nothing calls this directly
no test coverage detected