• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pymorphy2-fork / DAWG-Python / 14779646156

01 May 2025 05:04PM UTC coverage: 89.925%. Remained the same
14779646156

Pull #46

github

web-flow
Merge 13b24eede into bf6170229
Pull Request #46: Bump typing-extensions from 4.12.2 to 4.13.2

204 of 237 branches covered (86.08%)

Branch coverage included in aggregate %.

635 of 696 relevant lines covered (91.24%)

6.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/tests/utils.py
1
import zipfile
7✔
2
from pathlib import Path
7✔
3

4
DEV_DATA_PATH = Path(__file__).parent.parent / "dev_data"
7✔
5

6

7
def data_path(*args):
7✔
8
    """
9
    Returns a path to dev data
10
    """
11
    return DEV_DATA_PATH.joinpath(*args)
7✔
12

13

14
def words100k():
7✔
15
    zip_name = data_path("words100k.txt.zip")
7✔
16
    zf = zipfile.ZipFile(zip_name)
7✔
17
    txt = zf.open(zf.namelist()[0]).read().decode("utf8")
7✔
18
    return txt.splitlines()
7✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc