Add stubs for contextvars backport (3.5 and 3.6) (#2378)

* Add stubs for contextvars backport (3.5 and 3.6)

* Add contextvars to tests/check_consistent.py
This commit is contained in:
stevenjackson121
2018-08-14 11:05:02 -04:00
committed by Jelle Zijlstra
parent 29522f87c3
commit 80a0a75f5f
2 changed files with 31 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ consistent_files = [
{'stdlib/3/concurrent/futures/process.pyi', 'third_party/2/concurrent/futures/process.pyi'},
{'stdlib/3.7/dataclasses.pyi', 'third_party/3/dataclasses.pyi'},
{'stdlib/3/pathlib.pyi', 'third_party/2/pathlib2.pyi'},
{'stdlib/3.7/contextvars.pyi', 'third_party/3.5/contextvars.pyi'},
]
def main():