From 3790a1f98157570c59583d5a3ffea1679f4821a4 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Wed, 30 May 2012 22:57:10 -1000 Subject: [PATCH] let's try the from future thingy --- .travis.yml | 1 + README.md | 3 +++ test.py | 1 + 3 files changed, 5 insertions(+) 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