facebook / facebook/TestSlide

Validate that contexts are not async defs

Đang mở
#143 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
easy enhancement good first issue help wanted TestSlide DSL
Ngôn ngữ chính
Python
Star
149
Fork
62
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

This should yield a failure:

```python
@context
def top(context):
@context.sub_context
async def sub(context):
...
```

But is currently being silently ignored. Let's turn this into a failure.

Check:

- `@context`
- `@context.sub_context`
- `@context.shared_context`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.