Passed
Pull Request — main (#169)
by
unknown
01:30
created

tests.utils.utils   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A assert_not_raises() 0 5 1
1
from contextlib import contextmanager
0 ignored issues
show
introduced by
Missing module docstring
Loading history...
2
3
4
@contextmanager
5
def assert_not_raises():
6
    """Dummy context manager to highlight a row of a test
7
    that should not raises any exception"""
8
    yield
9