Commit 2ed56aa3 authored by Brian Svoboda's avatar Brian Svoboda
Browse files

Remove dependency in tests on numpy

parent 293cbbd3
#!/usr/bin/env python3
import math
import pytest
import numpy as np
from . import TEST_VCI
from ost_parser import vci
......@@ -61,7 +62,7 @@ def test_invalid_subband():
sb = ex.configs_by_scan[1].vci[1][0]
assert sb.swIndex == 2
assert sb.npol == 4
assert np.isclose(sb.bw, 128000000.)
assert math.isclose(sb.bw, 128000000.)
assert sb.nblb == 0
assert not sb.is_valid
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment