From f176b3c596beef58251c735bf5e79e57f2e1c412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Fri, 19 Mar 2021 18:09:42 +0000 Subject: [PATCH] Default to test_requires being an empty list. --- ognibuild/buildsystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ognibuild/buildsystem.py b/ognibuild/buildsystem.py index f6a0f6f..a123ad4 100644 --- a/ognibuild/buildsystem.py +++ b/ognibuild/buildsystem.py @@ -189,7 +189,7 @@ d = core._setup_distribution r = { '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", []) or [], 'entry_points': getattr(d, "entry_points", None) or {}, 'packages': getattr(d, "packages", []) or [],