diff options
author | Erik Rose <erik@mozilla.com> | 2011-11-13 17:49:24 -0800 |
---|---|---|
committer | Erik Rose <erik@mozilla.com> | 2011-11-13 17:55:40 -0800 |
commit | dde2719fbb0b4eb2aedd594b8261785459775d7d (patch) | |
tree | 20e3acae0fdcde6c3a971e60afd7738ee1dfba09 | |
parent | d05bb86a21f00a91179aa36ca127a9fe7a084670 (diff) | |
download | blessings-dde2719fbb0b4eb2aedd594b8261785459775d7d.tar.gz |
Start using tox for tests across Python versions. Make tests run in Python 2.5.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | blessings/tests.py | 1 | ||||
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | tox.ini | 6 |
5 files changed, 10 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..84d28ed --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.tox
\ No newline at end of file @@ -7,7 +7,7 @@ by Erik Rose The Pitch ========= -curses is a great library, but there are a couple situations where it doesn't +curses is a fine library, but there are a couple situations where it doesn't fit: * You want to use bold, color, and maybe a little positioning without clearing diff --git a/blessings/tests.py b/blessings/tests.py index 751c2fb..6b0c85a 100644 --- a/blessings/tests.py +++ b/blessings/tests.py @@ -1,3 +1,4 @@ +from __future__ import with_statement # Make 2.5-compatible from StringIO import StringIO from curses import tigetstr, tparm import sys @@ -28,6 +28,6 @@ setup( 'Topic :: Software Development :: User Interfaces', 'Topic :: Terminals' ], - keywords=['terminal', 'tty', 'curses', 'formatting'], + keywords=['terminal', 'tty', 'curses', 'formatting', 'color'], **extra_setup ) @@ -0,0 +1,6 @@ +[tox] +envlist = py25, py26, py27 + +[testenv] +commands = nosetests +deps=nose
\ No newline at end of file |