1
0
Fork 0
mirror of synced 2024-06-02 18:34:37 +12:00
This commit is contained in:
OMEGARAZER 2023-06-04 17:46:51 -04:00
parent 54b242fe9c
commit 288c42f392
No known key found for this signature in database
GPG key ID: D89925310D306E35
2 changed files with 5 additions and 4 deletions

View file

@ -89,6 +89,7 @@ markers = [
[tool.ruff]
exclude = ["scripts/tests"]
external = ["FURB123"]
flake8-annotations = {"allow-star-arg-any" = true, "suppress-dummy-args" = true}
flake8-pytest-style = {"parametrize-values-type" = "tuple", "mark-parentheses" = false}
format = "grouped"

View file

@ -427,8 +427,8 @@ def test_multilevel_folder_scheme(
("test", "test"),
("😍", "😍"),
("test😍", "test😍"),
("test😍 ", "test😍 "),
("test😍 \\u2019", "test😍 "),
("test😍 ", "test😍 "), # noqa: RUF001
("test😍 \\u2019", "test😍 "), # noqa: RUF001
("Using that real good [1\\4]", "Using that real good [1\\4]"),
),
)
@ -442,8 +442,8 @@ def test_preserve_emojis(test_name_string: str, expected: str, submission: Magic
@pytest.mark.parametrize(
("test_string", "expected"),
(
("test \\u2019", "test "),
("My cat\\u2019s paws are so cute", "My cats paws are so cute"),
("test \\u2019", "test "), # noqa: RUF001
("My cat\\u2019s paws are so cute", "My cats paws are so cute"), # noqa: RUF001
),
)
def test_convert_unicode_escapes(test_string: str, expected: str):