mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-15 21:12:58 +08:00
Update ThreadPoolExecutor attributes for Python 3.14 (#14263)
This commit is contained in:
1 parent
e6ec3600ab
commit
91868eadd0
2 files changed
+9
-5
No files matched your search
@@ -51,7 +51,7 @@ if sys.version_info >= (3, 14):
|
||||
worker_context = context[0]()
|
||||
assert_type(worker_context, concurrent.futures.interpreter.WorkerContext)
|
||||
resolve_task = context[1]
|
||||
# Function should enfore that the arguments are correct.
|
||||
# Function should enforce that the arguments are correct.
|
||||
res = resolve_task(_initializer, 1)
|
||||
assert_type(res, tuple[bytes, Literal["function"]])
|
||||
# When the function is a script, the arguments should be a string.
|
||||
|
||||
Reference in new issue
Block a user