Commits

Anonymous committed 60eb503

Fix failing test + add support for tox.

Comments (0)

Files changed (3)

 
 .settings
 .coverage
+.tox
 nosetests.xml
 
 build
 benchmark/enron_mail_082109.tar.gz
 
 tmp/*
-tests/tmp/*
+tests/tmp/*

tests/test_dateparse.py

                            dict(year=5001, month=1))
 
     # oct 2010 to feb -> oct 1 2010 to feb 28 2011
-    assert_unamb_span(p.date_from("oct 2010 to feb"),
+    assert_unamb_span(p.date_from("oct 2010 to feb", basedate),
                            dict(year=2010, month=10),
                            dict(year=2011, month=2))
 
+[tox]
+envlist = py27, py26
+
+[testenv]
+deps = nose
+commands = nosetests tests
+