提交 2daea796 编写于 作者: A Ansgar

db_test.py: explicitly use a `list`

On Debian 11 (bullseye) with Python 3 the test otherwise failed
with SQLAlchemy complaining:
```
    TypeError: Incompatible collection type: dict_values is not list-like
```
上级 d62a44a4
......@@ -90,7 +90,7 @@ class DBDakTestCase(DakTestCase):
if not self.arch[arch_string]:
self.arch[arch_string] = Architecture(arch_string)
if arch_string != 'kfreebsd-i386':
self.arch[arch_string].suites = self.suite.values()
self.arch[arch_string].suites = list(self.suite.values())
else:
filtered = list(self.suite.values())
if 'lenny' in self.suite:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册