PEP8 fixes for tests

This commit is contained in:
Roman Zeyde
2014-12-27 12:11:51 +02:00
parent f88820e9c3
commit ca93de06af
3 changed files with 4 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ from amodem import equalizer
from amodem import config
config = config.fastest()
def assert_approx(x, y, e=1e-12):
assert norm(x - y) < e * norm(x)