Remove upstreamed patch

epel9
Parag Nemade 3 years ago
parent eec817e084
commit 4d552aecaf
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

@ -1,13 +0,0 @@
diff --git a/tests/test_traceback.py b/tests/test_traceback.py
index 2830e26aa..03705f99c 100644
--- a/tests/test_traceback.py
+++ b/tests/test_traceback.py
@@ -277,7 +277,7 @@ def test_guess_lexer_yaml_j2():
something: {{ raiser() }}
else: {{ 5 + 5 }}
"""
- assert Traceback._guess_lexer("test.yaml.j2", code) == "text"
+ assert Traceback._guess_lexer("test.yaml.j2", code) in ("text", "YAML+Jinja")
def test_recursive():

@ -10,10 +10,6 @@ URL: https://github.com/Textualize/rich
Source0: %{url}/archive/v%{version}/rich-%{version}.tar.gz
BuildArch: noarch
# Fix a test with Pygments 2.12.0
# Resolved upstream: https://github.com/Textualize/rich/commit/e2332480eba780be2090b5cc98bee21874d13f33
Patch0: pygments-2.12.0-test-fix.patch
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
# for checks

Loading…
Cancel
Save