Commit 4c6cba72 authored by Andrey Golovizin's avatar Andrey Golovizin
Browse files

Whitespace cleanup

parent 804d814e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ Some tests were adopted from Babybib - another BibTeX parser by Matthew Brett.
https://github.com/matthew-brett/babybib

"""

from __future__ import absolute_import, unicode_literals

from unittest import TestCase
+10 −13
Original line number Diff line number Diff line
from __future__ import unicode_literals

import errno
import posixpath
from unittest import TestCase

from pybtex import io


# Copyright (c) 2006-2017  Andrey Golovigin
#
# Permission is hereby granted, free of charge, to any person obtaining
@@ -29,7 +20,13 @@ from pybtex import io
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


from __future__ import unicode_literals

import errno
import posixpath
from unittest import TestCase

from pybtex import io


class MockFile(object):
+8 −9
Original line number Diff line number Diff line
from __future__ import unicode_literals

import re

import nose.tools
import pybtex.database.input.bibtex
import pybtex.plugin
import pybtex.style.formatting.plain

# Copyright (c) 2014  Matthias C. M. Troffaes
#
# Permission is hereby granted, free of charge, to any person obtaining
@@ -29,6 +20,14 @@ import pybtex.style.formatting.plain
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


from __future__ import unicode_literals

import re

import nose.tools
import pybtex.database.input.bibtex
import pybtex.plugin
import pybtex.style.formatting.plain


# unittest.assertRaisesRegexp() is deprecated and renamed to
+0 −1
Original line number Diff line number Diff line
@@ -30,4 +30,3 @@ def diff(src, dst):

def get_data(filename, package='tests.data'):
    return pkgutil.get_data(package, filename).decode('UTF-8')