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

pyta-uoft / pyta / 13426389049

20 Feb 2025 02:11AM UTC coverage: 92.912% (-0.08%) from 92.989%
13426389049

push

github

web-flow
Fix import error when graphviz is not installed (#1154)

2 of 5 new or added lines in 1 file covered. (40.0%)

3264 of 3513 relevant lines covered (92.91%)

17.65 hits per line

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

57.14
/python_ta/cfg/__init__.py
1
try:
20✔
2
    from .cfg_generator import generate_cfg
20✔
NEW
3
except ModuleNotFoundError:
×
4

NEW
5
    def generate_cfg(*_args, **_kwargs) -> None:
×
6
        """Dummy version of generate_cfg"""
NEW
7
        raise Exception(
×
8
            "This function requires additional dependencies to be installed: " "python_ta[cfg]"
9
        )
10

11

12
from .graph import *
20✔
13
from .visitor import *
20✔
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

© 2026 Coveralls, Inc