mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-02 17:20:50 +00:00
it doesn't typecheck, nevermind
This commit is contained in:
parent
54d80222c9
commit
8d5727977b
@ -26,11 +26,6 @@ __all__ = [
|
|||||||
"PIPE",
|
"PIPE",
|
||||||
]
|
]
|
||||||
|
|
||||||
try:
|
|
||||||
from typing import Tuple, ContextManager
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os, random, struct
|
import os, random, struct
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
@ -1221,7 +1216,6 @@ class ConstantAddresses(object):
|
|||||||
|
|
||||||
@contextmanager
|
@contextmanager
|
||||||
def disable_modules(*names):
|
def disable_modules(*names):
|
||||||
# type: (Tuple[str]) -> ContextManager
|
|
||||||
"""
|
"""
|
||||||
A context manager which makes modules appear to be missing while it is
|
A context manager which makes modules appear to be missing while it is
|
||||||
active.
|
active.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user