From 44cdf132d32107bdf4229c7b61cbcdd3dc48ee10 Mon Sep 17 00:00:00 2001 From: Satoru Sato Date: Thu, 14 Aug 2025 00:19:19 +0900 Subject: [PATCH 1/2] fix: remove escapes, \ --- tests/res/1/dumpers/properties.builtin/10/e/100.json.py | 3 +-- tests/res/1/dumpers/sh.variables/10/e/100_basics.json.py | 3 +-- .../toml.tomllib/10/e/200_a_simple_map_with_basic_values.py.py | 2 +- .../1/dumpers/toml.tomllib/10/e/310_a_map_with_arrays.json.py | 3 +-- tests/res/1/dumpers/toml.tomllib/10/e/410_complex_maps.py.py | 3 +-- .../1/dumpers/toml.tomllib/10/e/420_array_of_tables.json.py | 3 +-- 6 files changed, 6 insertions(+), 11 deletions(-) diff --git a/tests/res/1/dumpers/properties.builtin/10/e/100.json.py b/tests/res/1/dumpers/properties.builtin/10/e/100.json.py index 794bcaf7..546654b7 100644 --- a/tests/res/1/dumpers/properties.builtin/10/e/100.json.py +++ b/tests/res/1/dumpers/properties.builtin/10/e/100.json.py @@ -1,6 +1,5 @@ # flake8: noqa: W291 -DATA = """\ -a = 0 +DATA = """a = 0 b = bbb c = sect0.c = x;y;z diff --git a/tests/res/1/dumpers/sh.variables/10/e/100_basics.json.py b/tests/res/1/dumpers/sh.variables/10/e/100_basics.json.py index 935bd3e2..93dbacf5 100644 --- a/tests/res/1/dumpers/sh.variables/10/e/100_basics.json.py +++ b/tests/res/1/dumpers/sh.variables/10/e/100_basics.json.py @@ -1,5 +1,4 @@ -DATA = """\ -a='0' +DATA = """a='0' b='bbb' c='ccc' d='ddd' diff --git a/tests/res/1/dumpers/toml.tomllib/10/e/200_a_simple_map_with_basic_values.py.py b/tests/res/1/dumpers/toml.tomllib/10/e/200_a_simple_map_with_basic_values.py.py index 761d34c1..a214f689 100644 --- a/tests/res/1/dumpers/toml.tomllib/10/e/200_a_simple_map_with_basic_values.py.py +++ b/tests/res/1/dumpers/toml.tomllib/10/e/200_a_simple_map_with_basic_values.py.py @@ -1,4 +1,4 @@ -DATA = """[x] +DATA = r"""[x] a0 = 0 a1 = 1 a2 = 42 diff --git a/tests/res/1/dumpers/toml.tomllib/10/e/310_a_map_with_arrays.json.py b/tests/res/1/dumpers/toml.tomllib/10/e/310_a_map_with_arrays.json.py index 4825338f..843d2ace 100644 --- a/tests/res/1/dumpers/toml.tomllib/10/e/310_a_map_with_arrays.json.py +++ b/tests/res/1/dumpers/toml.tomllib/10/e/310_a_map_with_arrays.json.py @@ -1,5 +1,4 @@ -DATA = """\ -[x] +DATA = """[x] integers = [ 1, 2, diff --git a/tests/res/1/dumpers/toml.tomllib/10/e/410_complex_maps.py.py b/tests/res/1/dumpers/toml.tomllib/10/e/410_complex_maps.py.py index 742e220d..2ca6289d 100644 --- a/tests/res/1/dumpers/toml.tomllib/10/e/410_complex_maps.py.py +++ b/tests/res/1/dumpers/toml.tomllib/10/e/410_complex_maps.py.py @@ -1,5 +1,4 @@ -DATA = """\ -title = "Table examples" +DATA = """title = "Table examples" name = { first = "Tom", last = "Preston-Werner" } point = { x = 1, y = 2 } diff --git a/tests/res/1/dumpers/toml.tomllib/10/e/420_array_of_tables.json.py b/tests/res/1/dumpers/toml.tomllib/10/e/420_array_of_tables.json.py index 85c071de..7aebaaad 100644 --- a/tests/res/1/dumpers/toml.tomllib/10/e/420_array_of_tables.json.py +++ b/tests/res/1/dumpers/toml.tomllib/10/e/420_array_of_tables.json.py @@ -1,5 +1,4 @@ -DATA = """\ -products = [ +DATA = """products = [ { name = "Hammer", sku = 738594937 }, {}, { name = "Nail", sku = 284758393, color = "gray" }, From 7ade320f52264093d9bc29b2b3f7b9301a3a4409 Mon Sep 17 00:00:00 2001 From: Satoru Sato Date: Thu, 14 Aug 2025 00:41:16 +0900 Subject: [PATCH 2/2] fix: remove one more escapes, \ --- tests/res/1/dicts/get/20/q/80.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/res/1/dicts/get/20/q/80.py b/tests/res/1/dicts/get/20/q/80.py index aee900e9..7f25ba4a 100644 --- a/tests/res/1/dicts/get/20/q/80.py +++ b/tests/res/1/dicts/get/20/q/80.py @@ -1 +1 @@ -'/i\j' +r'/i\j'