Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move tests into package. | Julian Berman | 2013-05-17 | 1 | -3/+2 |
| | |||||
* | Add style to tox run. | Julian Berman | 2013-05-12 | 1 | -1/+1 |
| | |||||
* | Cleanup tests a bit. | Colin Dunklau | 2013-05-12 | 1 | -5/+3 |
| | | | | | Removed doctest attempt for module. Renamed tests.py -> test_jsonschema.py | ||||
* | Minor style changes | Colin Dunklau | 2013-05-11 | 1 | -1/+1 |
| | |||||
* | Begone. | Julian Berman | 2013-04-26 | 1 | -3/+3 |
| | |||||
* | Flake8 because I'm sadistic. | Julian Berman | 2013-04-26 | 1 | -0/+9 |
| | |||||
* | Fix doctests. | Julian Berman | 2013-04-20 | 1 | -8/+2 |
| | |||||
* | Fix doc env. | Julian Berman | 2013-04-18 | 1 | -1/+3 |
| | |||||
* | Fix path and tox. | Julian Berman | 2013-04-18 | 1 | -1/+2 |
| | |||||
* | requires argparse for suite bin to work. | Julian Berman | 2013-02-22 | 1 | -0/+1 |
| | |||||
* | Fix tests on old PyPys. | Julian Berman | 2013-02-18 | 1 | -0/+6 |
| | |||||
* | Doctest is horrible. | Julian Berman | 2013-02-17 | 1 | -0/+4 |
| | |||||
* | Gymnastics. | Julian Berman | 2013-02-17 | 1 | -2/+16 |
| | |||||
* | Never mind, use isodate since it isn't broken. | Julian Berman | 2013-02-16 | 1 | -3/+2 |
| | |||||
* | Don't need tox on py33 | Julian Berman | 2013-02-03 | 1 | -0/+6 |
| | |||||
* | Don't fall back if webcolors isn't present | Julian Berman | 2013-02-03 | 1 | -0/+1 |
| | |||||
* | Doctest jsonschema | Julian Berman | 2013-02-03 | 1 | -0/+1 |
| | |||||
* | Sphinx doctest | Julian Berman | 2013-01-12 | 1 | -6/+5 |
| | |||||
* | Build docs in tox | Julian Berman | 2012-11-30 | 1 | -2/+8 |
| | |||||
* | Stupid nose. | Julian Berman | 2012-11-17 | 1 | -1/+1 |
| | |||||
* | Add Python 3.3 | Julian Berman | 2012-10-22 | 1 | -1/+1 |
| | |||||
* | Add mock. | Julian Berman | 2012-09-28 | 1 | -0/+2 |
| | |||||
* | An initial stab at making jsonschema Python 3.x compatible. | Michael Droettboom | 2012-04-20 | 1 | -11/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This takes the approach of being Python 2.6, 2.7, 3.1 and 3.2 compatible from an identical code base, i.e. not by requiring an explicit 2to3 step. With this approach it is almost impossible to also support Python 2.5, though that can be investigated if that is a hard requirement. The testing framework was changed from Twisted.trial to nosetests, since Twisted does not yet have Python 3.x support. Alternatively, pytest could be used. Most changes are related to adding "from __future__ import unicode_literals" and removing all of the "u" prefixes on string literals. Since 3.x drops renames dict.iteritems to dict.items, a function "iteritems" was added to handle either case. Likewise, itertools.izip was dropped in favor of just using zip. Comparisions of strings and numbers no longer works, so the string is forcibly converted to a float before doing a numeric comparison. Updated "try .. except" to use the new "Exception as e" syntax. Python 3 changed the way metaclasses are handled. The metaclass in tests.py (there are none in the library proper) now uses a crazy inscrutable syntax that is Python 2.x and 3.x compatible. See http://mikewatkins.ca/2008/11/29/python-2-and-3-metaclasses/ There is one doctest failing on Python 3.x that fails due to the fact that in Python 3 the full path to the Exception object is shown in tracebacks, i.e. jsonschema.ValidationError vs. ValidationError. I'm not sure how to resolve this in a way that is both Python 2 and 3 compatible. We may just want to skip the doctests on Python 3. | ||||
* | Removed the securetypes stuff. | Julian Berman | 2012-04-19 | 1 | -3/+0 |
| | | | | The hash fix has been released, so this can all go away. | ||||
* | Adding uniqueItems with optional (recommended) dep on securetypes. | Julian Berman | 2012-01-18 | 1 | -2/+9 |
| | |||||
* | Missed a dep. | Julian Berman | 2011-12-30 | 1 | -2/+6 |
| | |||||
* | setup.py and tox | Julian Berman | 2011-12-30 | 1 | -0/+16 |