facebook/TestSlide

Validate that contexts are not async defs

開放

#143 建立於 2020年4月7日

 (1 則留言) (0 個反應) (0 位負責人)Python (58 個分叉)auto 404
TestSlide DSLeasyenhancementgood first issuehelp wanted

倉庫指標

星標
 (147 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

This should yield a failure:

@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

貢獻者指南