<commit_before>[tox]
envlist = py26,py27,pypy,py33,py34

[base]
deps = nose
       mock
       unittest2
       PyYAML
       six

[testenv]
deps = {[base]deps}
       blist
       sure
setenv = USE_CASS_EXTERNAL=1
commands = {envpython} setup.py build_ext --inplace
           nosetests --verbosity=2 tests/unit/
           nosetests --verbosity=2 tests/integration/cqlengine

[testenv:py26]
commands = {envpython} setup.py build_ext --inplace
           nosetests --verbosity=2 tests/unit/
# no cqlengine support for 2.6 right now

[testenv:pypy]
deps = {[base]deps}
commands = {envpython} setup.py build_ext --inplace
           nosetests --verbosity=2 tests/unit/
# cqlengine/test_timestamp.py uses sure, which fails in pypy presently
# could remove sure usage<commit_msg>potential fix to travis unit test errors<commit_after>[tox]
envlist = py26,py27,pypy,py33,py34

[base]
deps = nose
       mock
       unittest2
       PyYAML
       six

[testenv]
deps = {[base]deps}
       sure==1.2.3
       blist
setenv = USE_CASS_EXTERNAL=1
commands = {envpython} setup.py build_ext --inplace
           nosetests --verbosity=2 tests/unit/
           nosetests --verbosity=2 tests/integration/cqlengine

[testenv:py26]
commands = {envpython} setup.py build_ext --inplace
           nosetests --verbosity=2 tests/unit/
# no cqlengine support for 2.6 right now

[testenv:pypy]
deps = {[base]deps}
commands = {envpython} setup.py build_ext --inplace
           nosetests --verbosity=2 tests/unit/
# cqlengine/test_timestamp.py uses sure, which fails in pypy presently
# could remove sure usage
{'fraction_non_alphanumeric': 0.1008827238335435, 'fraction_numerical': 0.02459016393442623, 'mean_word_length': 2.9774436090225564, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4448933', 'n_tokens_mistral': 575, 'n_tokens_neox': 553, 'n_words': 139}