Skip to content

Commit 38c87db

Browse files
committed
fix tests
1 parent d3896dc commit 38c87db

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

poetry.lock

Lines changed: 20 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pytest-cov = "^4.1.0"
8383
ipykernel = "^6.7.0"
8484
jupyter = "^1.0.0"
8585
pandas = "^2.0.3"
86-
pyright = "^1.1.362"
86+
pyright = { extras = ["nodejs"], version = "^1.1.362" }
8787
decoy = "^2.1.0"
8888
pep8-naming = "^0.14.1"
8989

tests/corpora/test_usfm_memory_text.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
from testutils.corpora_test_helpers import scripture_ref
44

5-
from machine.corpora import ScriptureRef, TextRow, UsfmMemoryText, UsfmStylesheet
6-
7-
from ...machine.corpora.file_paratext_project_text_updater import FileParatextProjectTextUpdater
8-
from ...machine.corpora.update_usfm_parser_handler import (
5+
from machine.corpora import ScriptureRef, TextRow, UsfmMemoryText
6+
from machine.corpora.update_usfm_parser_handler import (
97
UpdateUsfmMarkerBehavior,
108
UpdateUsfmParserHandler,
119
UpdateUsfmTextBehavior,
1210
)
13-
from ...machine.corpora.usfm_parser import parse_usfm
11+
from machine.corpora.usfm_parser import parse_usfm
12+
from machine.corpora.usfm_stylesheet import UsfmStylesheet
1413

1514

1615
def test_get_rows_verse_descriptive_title() -> None:

0 commit comments

Comments
 (0)