diff options
author | James Socol <me@jamessocol.com> | 2014-05-09 10:40:33 -0400 |
---|---|---|
committer | James Socol <me@jamessocol.com> | 2014-05-09 11:29:12 -0400 |
commit | 8efab684470c4fc5ab941564f96a60381e827fe0 (patch) | |
tree | 2f26e35ad32feb648250141b082fd5e946db0b63 | |
parent | 043281baad434788013276c05eb8a030d7cce5b2 (diff) | |
download | pystatsd-8efab684470c4fc5ab941564f96a60381e827fe0.tar.gz |
Update test envs and trove classifiers
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | setup.py | 5 | ||||
-rw-r--r-- | statsd/tests.py | 2 | ||||
-rw-r--r-- | tox.ini | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 4f70a82..9208899 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,6 @@ python: - "2.7" - "3.2" - "3.3" + - "3.4" - "pypy" -install: pip install -r requirements.txt --use-mirrors script: nosetests @@ -15,6 +15,7 @@ setup( packages=find_packages(), include_package_data=True, package_data={'': ['README.rst']}, + test_suite='nose.collector', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', @@ -28,6 +29,8 @@ setup( 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries :: Python Modules', - ] + ], ) diff --git a/statsd/tests.py b/statsd/tests.py index fc51af5..da52182 100644 --- a/statsd/tests.py +++ b/statsd/tests.py @@ -158,7 +158,7 @@ def test_gauge_absolute_negative_rate(mock_random): mock_random.return_value = -1 sc.gauge('foo', -1, rate=0.5, delta=False) _sock_check(sc, 1, 'foo:0|g\nfoo:-1|g') - + mock_random.return_value = 2 sc.gauge('foo', -2, rate=0.5, delta=False) _sock_check(sc, 1, 'foo:0|g\nfoo:-1|g') # Should not have changed. @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,pypy,py32,py33 +envlist = py26,py27,pypy,py32,py33,py34 [testenv] deps= |