Source: python-funcsigs
Version: 1.0.2-5
Severity: normal

This patch is trivial.

I guess this is less work than keeping unittest2 alive.

python3-funcsigs is dormant, but it has a network
of alive rdeps and needs to sty.

Greetings
diff --git a/debian/control b/debian/control
index 8b837d6..057dc8e 100644
--- a/debian/control
+++ b/debian/control
@@ -10,8 +10,6 @@ Build-Depends:
  python3-all,
  python3-setuptools (>= 17.1),
  python3-sphinx,
-Build-Depends-Indep:
- python3-unittest2 (>= 1.1.0),
 Standards-Version: 4.1.3
 Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-funcsigs
 Vcs-Git: https://salsa.debian.org/openstack-team/python/python-funcsigs.git
diff --git a/requirements/development.txt b/requirements/development.txt
index 40dedd9..017f46a 100644
--- a/requirements/development.txt
+++ b/requirements/development.txt
@@ -2,4 +2,3 @@ coverage
 coveralls
 flake8
 sphinx
-unittest2
diff --git a/setup.py b/setup.py
index f369688..401c8a9 100644
--- a/setup.py
+++ b/setup.py
@@ -47,6 +47,5 @@ setup(
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Software Development :: Libraries :: Python Modules'
     ],
-    tests_require = ['unittest2'],
     test_suite = 'unittest2.collector',
 )
diff --git a/tests/test_formatannotation.py b/tests/test_formatannotation.py
index 4b98e60..240ab92 100644
--- a/tests/test_formatannotation.py
+++ b/tests/test_formatannotation.py
@@ -1,6 +1,6 @@
 import funcsigs
 
-import unittest2 as unittest
+import unittest
 
 class TestFormatAnnotation(unittest.TestCase):
     def test_string (self):
diff --git a/tests/test_funcsigs.py b/tests/test_funcsigs.py
index a7b9cca..b7ea94d 100644
--- a/tests/test_funcsigs.py
+++ b/tests/test_funcsigs.py
@@ -1,4 +1,4 @@
-import unittest2 as unittest
+import unittest
 
 import doctest
 import sys
diff --git a/tests/test_inspect.py b/tests/test_inspect.py
index 98d6592..fc5bedb 100644
--- a/tests/test_inspect.py
+++ b/tests/test_inspect.py
@@ -4,7 +4,7 @@ import collections
 import functools
 import sys
 
-import unittest2 as unittest
+import unittest
 
 import funcsigs as inspect
 

Reply via email to