Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make running dev tests comparing toolz to cytoolz more strict. #58

Merged
merged 2 commits into from
Mar 22, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Don't require nose to run tests (including dev tests).
pytest (without nose installed) can run all tests, including dev tests.
  • Loading branch information
eriknw committed Mar 21, 2015
commit 9ce40e0f0d9ef849334c46452ddaa289f88a10ca
6 changes: 5 additions & 1 deletion cytoolz/tests/dev_skip_test.py
Original file line number Diff line number Diff line change
@@ -11,7 +11,11 @@
- cytoolz is a release version
"""
import cytoolz
from nose.tools import nottest, istest
try:
from nose.tools import nottest, istest
except ImportError:
istest = lambda func: setattr(func, '__test__', True) or func
nottest = lambda func: setattr(func, '__test__', False) or func

try:
import toolz