Files
gentoo/dev-python/sybil/files/sybil-10.1.0-fix-tests-against-testfixtures-12.patch
Alfred Wingate 8ef58daa96 dev-python/sybil: fix tests against >=testfixtures-12
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-19 16:30:18 +01:00

31 lines
898 B
Diff

https://github.com/simplistix/sybil/commit/b1c31ce0818cfa7953a61b3b391a88cd5620f9dd
From b1c31ce0818cfa7953a61b3b391a88cd5620f9dd Mon Sep 17 00:00:00 2001
From: Chris Withers <chris@withers.org>
Date: Thu, 9 Jul 2026 08:51:56 +0100
Subject: [PATCH] Follow testfixtures' compare_text/compare_dict move to
comparers module
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -31,7 +31,7 @@ dev = [
"pytest-cov>=6",
"ruff>=0.15.7",
"seedir",
- "testfixtures>=11",
+ "testfixtures>=12.0.0",
"types-PyYAML",
]
docs = [
--- a/tests/test_lexing.py
+++ b/tests/test_lexing.py
@@ -2,7 +2,7 @@
import pytest
from testfixtures import ShouldRaise, compare
-from testfixtures.comparison import compare_text, compare_dict
+from testfixtures.comparers import compare_text, compare_dict
from sybil import Lexeme
from sybil.parsers.abstract.lexers import BlockLexer, LexingException