Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37640562
en ru br
ALT Linux repositórios
S:2.16.1-alt1

Group :: Development/Python3
RPM: python3-module-Pygments

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: python3-module-Pygments-2.15.1-alt.patch
Download


 tests/contrast/test_contrasts.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/contrast/test_contrasts.py b/tests/contrast/test_contrasts.py
index f43d2c0f..a608b653 100644
--- a/tests/contrast/test_contrasts.py
+++ b/tests/contrast/test_contrasts.py
@@ -12,9 +12,12 @@
 import json
 import os
 
+import pytest
+
 import pygments.styles
 import pygments.token
-import wcag_contrast_ratio
+
+wcag_contrast_ratio = pytest.importorskip("wcag_contrast_ratio")
 
 JSON_FILENAME = os.path.join(os.path.dirname(__file__), "min_contrasts.json")
 WCAG_AA_CONTRAST = 4.5
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009