Skip to content

Commit

Permalink
tests/g_jmdict_test.py: check lxml version
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Dec 6, 2024
1 parent fbda2dc commit 6fea48a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/g_jmdict_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import unittest

import lxml
from glossary_v2_test import TestGlossaryBase

if not lxml.__version__.startswith("5.3."):
raise OSError(f"Found lxml=={lxml.__version__}, must use lxml==5.3")

class TestGlossaryJMdict(TestGlossaryBase):
def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit 6fea48a

Please sign in to comment.