File fix-the-regression-with-invalid-syntax-in-test_parse.patch of Package salt
From ed2cdce61f4db5ac92eaeaa2f2573a1e879e7886 Mon Sep 17 00:00:00 2001
From: Victor Zhestkov <35733135+vzhestkov@users.noreply.github.com>
Date: Tue, 9 Nov 2021 12:36:30 +0300
Subject: [PATCH] Fix the regression with invalid syntax in
test_parse_cpe_name_v23 (#455)
---
tests/unit/grains/test_core.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/unit/grains/test_core.py b/tests/unit/grains/test_core.py
index 0d57a142c5..5ef882a357 100644
--- a/tests/unit/grains/test_core.py
+++ b/tests/unit/grains/test_core.py
@@ -109,7 +109,7 @@ class CoreGrainsTestCase(TestCase, LoaderModuleMockMixin):
'''
Parse correct CPE_NAME data v2.3 formatted
:return:
- """
+ '''
for cpe, cpe_ret in [
(
"cpe:2.3:o:microsoft:windows_xp:5.1.601:beta:*:*:*:*:*:*",
--
2.33.1