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