1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

let's try the from future thingy

This commit is contained in:
Kevin McCarthy
2012-05-30 22:57:10 -10:00
parent 71c422700e
commit 3790a1f981
3 changed files with 5 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
language: python language: python
python: python:
- 2.5
- 2.6 - 2.6
- 2.7 - 2.7
install: pip install -r requirements.txt --use-mirrors install: pip install -r requirements.txt --use-mirrors

View File

@@ -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. your tests and lets you work offline.
##Compatibility Notes ##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 Currently I've only tested this (a little bit) with urllib2. It's known to *NOT
WORK* with urllib. WORK* with urllib.

View File

@@ -1,3 +1,4 @@
from __future__ import with_statement
import os import os
import unittest import unittest
import vcr import vcr