facebook/TestSlide

Validate that contexts are not async defs

オープン

#143 opened on 2020/04/07

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (58 件のフォーク)auto 404
TestSlide DSLeasyenhancementgood first issuehelp wanted

Repository metrics

Stars
 (147 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド