diff --git a/.travis.yml b/.travis.yml index dd9c9e4..f715641 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: python python: + - 2.5 - 2.6 - 2.7 install: pip install -r requirements.txt --use-mirrors diff --git a/README.md b/README.md index fde6326..f8b74a1 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,9 @@ again, they all just hit the text files instead of the internet. This speeds up your tests and lets you work offline. ##Compatibility Notes +This should work with Python 2.6 and 2.7. There aren't any context managers in +2.5 so I'm not bothering with that. + Currently I've only tested this (a little bit) with urllib2. It's known to *NOT WORK* with urllib. diff --git a/test.py b/test.py index 8e72e34..6cdfec9 100644 --- a/test.py +++ b/test.py @@ -1,3 +1,4 @@ +from __future__ import with_statement import os import unittest import vcr