File test-ruff-0.1.0.patch of Package python-pytest-examples

From cade1306918e9984d0d45d5e274d01b734b5fd3a Mon Sep 17 00:00:00 2001
From: Anton Zhukharev <ancieg@altlinux.org>
Date: Wed, 18 Oct 2023 09:38:34 +0300
Subject: [PATCH] update tests for ruff>=0.1.0

---
 tests/test_run_examples.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_run_examples.py b/tests/test_run_examples.py
index 1dcfba1..4330d71 100644
--- a/tests/test_run_examples.py
+++ b/tests/test_run_examples.py
@@ -114,7 +114,7 @@ def test_find_run_examples(example: CodeExample, eval_example: EvalExample):
         '  my_file.md:2:8: F401 [*] `sys` imported but unused\n'
         '  my_file.md:3:7: F821 Undefined name `missing`\n'
         '  Found 2 errors.\n'
-        '  [*] 1 potentially fixable with the --fix option.\n'
+        '  [*] 1 fixable with the `--fix` option.\n'
         '=== short test summary info ===\n'
     ) in output
 
openSUSE Build Service is sponsored by