Loading tests/bibtex_parser_test.py +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading tests/io_test.py +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 Loading @@ -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): Loading tests/plugin_test.py +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 Loading @@ -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 Loading tests/utils.py +0 −1 Original line number Diff line number Diff line Loading @@ -30,4 +30,3 @@ def diff(src, dst): def get_data(filename, package='tests.data'): return pkgutil.get_data(package, filename).decode('UTF-8') Loading
tests/bibtex_parser_test.py +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
tests/io_test.py +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 Loading @@ -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): Loading
tests/plugin_test.py +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 Loading @@ -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 Loading
tests/utils.py +0 −1 Original line number Diff line number Diff line Loading @@ -30,4 +30,3 @@ def diff(src, dst): def get_data(filename, package='tests.data'): return pkgutil.get_data(package, filename).decode('UTF-8')