tests.unit.test_import.test_import()   A
last analyzed

Complexity

Conditions 2

Size

Total Lines 7
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 2
nop 0
1
"""Base library tests."""
2
3
4
def test_import():
5
    """Test basic import."""
6
    import importlib
7
    try:
8
        importlib.import_module('econopy')
9
    except ImportError:
10
        assert False
11