From 9aaa3ab84ace80351032fb3efba0812ca653ac75 Mon Sep 17 00:00:00 2001 From: TanyaAgarwal28 <8979149361t@gmail.com> Date: Wed, 11 Oct 2023 11:43:34 +0530 Subject: [PATCH] Bug Fix 11282: config.getini returns an empty list for an option of type string absent in INI file --- testing/test_conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/test_conftest.py b/testing/test_conftest.py index 5d5407717..6c8072019 100644 --- a/testing/test_conftest.py +++ b/testing/test_conftest.py @@ -382,6 +382,7 @@ def test_my_option(pytester): encoding="utf-8", ) result = pytester.runpytest("--my_option=None", str(testdir)) + assert result.ret == 0 result.stdout.fnmatch_lines(["*1 passed*"])