Skip to content

Commit 1022071

Browse files
committed
Adding slow attribute to LDPC decoder testing.
1 parent a60f272 commit 1022071

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ install:
1313
- pip install coveralls
1414
- python setup.py install
1515
script:
16-
- nosetests
17-
- nosetests --with-coverage --cover-package=commpy
16+
- nosetests -a '!slow' --with-coverage --cover-package=commpy
1817
after_success:
1918
- coveralls
2019

commpy/channelcoding/tests/test_ldpc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
from numpy.testing import assert_allclose
77
from commpy.channelcoding.ldpc import get_ldpc_code_params, ldpc_bp_decode
88
from commpy.utilities import hamming_dist
9-
109
import os
1110

11+
from nose.plugins.attrib import attr
12+
13+
@attr('slow')
1214
class TestLDPCCode(object):
1315

1416
@classmethod

0 commit comments

Comments
 (0)