Fix unittests for Python 2.7

This commit is contained in:
Phyks 2015-09-05 16:49:56 +02:00
parent 1b83f01581
commit f7bcdece5f

View File

@ -23,6 +23,8 @@ try:
except ImportError:
# Fall back to Python 2's urllib2
from urllib2 import urlopen, Request
class URLError(Exception):
pass
import arxiv2bib as arxiv_metadata
import libbmc.tools as tools
import bibtexparser