drop tests
This commit is contained in:
7
debian/lib/python/debian_linux/utils.py
vendored
7
debian/lib/python/debian_linux/utils.py
vendored
@@ -7,7 +7,7 @@ import typing
|
||||
import jinja2
|
||||
|
||||
from .dataclasses_deb822 import read_deb822
|
||||
from .debian import SourcePackage, BinaryPackage, TestsControl
|
||||
from .debian import SourcePackage, BinaryPackage
|
||||
|
||||
|
||||
class Templates(object):
|
||||
@@ -77,11 +77,6 @@ class Templates(object):
|
||||
) -> typing.Iterable[SourcePackage]:
|
||||
return read_deb822(SourcePackage, io.StringIO(self.get(key, context)))
|
||||
|
||||
def get_tests_control(
|
||||
self, key: str, context: dict[str, str] = {},
|
||||
) -> typing.Iterable[TestsControl]:
|
||||
return read_deb822(TestsControl, io.StringIO(self.get(key, context)))
|
||||
|
||||
|
||||
class TextWrapper(textwrap.TextWrapper):
|
||||
wordsep_re = re.compile(
|
||||
|
Reference in New Issue
Block a user