summaryrefslogtreecommitdiffstats
path: root/Programs
diff options
context:
space:
mode:
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_testembed.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index 70ef45f..7fb0d69 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -466,8 +466,7 @@ static int test_init_from_config(void)
config.xoptions.length = Py_ARRAY_LENGTH(xoptions);
config.xoptions.items = xoptions;
- static wchar_t* warnoptions[2] = {
- L"default",
+ static wchar_t* warnoptions[1] = {
L"error::ResourceWarning",
};
config.warnoptions.length = Py_ARRAY_LENGTH(warnoptions);