From ca7853464dd8cef05827b66fd6ebbdc4816248e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Fri, 19 Mar 2021 17:31:44 +0000 Subject: [PATCH] Default to empty list. --- ognibuild/buildsystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ognibuild/buildsystem.py b/ognibuild/buildsystem.py index e245074..e1a22c1 100644 --- a/ognibuild/buildsystem.py +++ b/ognibuild/buildsystem.py @@ -247,7 +247,7 @@ class SetupPy(BuildSystem): return { 'setup_requires': getattr(d, "setup_requires", []), 'install_requires': getattr(d, "install_requires", []), - 'tests_require': getattr(d, "tests_require", []), + 'tests_require': getattr(d, "tests_require", []) or [], 'scripts': getattr(d, "scripts", []), 'entry_points': getattr(d, "entry_points", None) or {}, 'packages': getattr(d, "packages", []),