Skip to content

Commit fb86407

Browse files
MiWeissmgorny
andauthored
Remove obsolete unittest2 support (#2)
Now that the package does not support Python 2 anymore, there is no reason to ever use unittest2. Co-authored-by: Michał Górny <mgorny@gentoo.org>
1 parent 9809050 commit fb86407

3 files changed

Lines changed: 1 addition & 6 deletions

File tree

bibtexparser/tests/test_crossref_resolving.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
try:
2-
import unittest2 as unittest
3-
except ImportError:
4-
import unittest
1+
import unittest
52
from bibtexparser.bibdatabase import BibDatabase
63
from bibtexparser.bparser import BibTexParser
74

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
future>=0.16.0
22
pyparsing>=2.0.3
3-
unittest2>=1.1.0

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@
2323
packages = ['bibtexparser'],
2424
install_requires = ['pyparsing>=2.0.3',
2525
'future>=0.16.0'],
26-
extra_requires = {'unittest': 'unittest2>=1.1.0'}
2726
)

0 commit comments

Comments
 (0)