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

tests.utils.utils.assert_not_raises()   A

Complexity

Conditions 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nop 0
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