Fix unittests for Python 2.7
This commit is contained in:
parent
1b83f01581
commit
f7bcdece5f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user