Skip to content

Commit dcd7fa6

Browse files
committed
Drop more Python 2.7 compatibility code
1 parent 852515c commit dcd7fa6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/test_do_rnc.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ class TestDGII(unittest.TestCase):
3636
"""Test the web services provided by the the Dirección General de
3737
Impuestos Internos (DGII), the Dominican Republic tax department."""
3838

39-
def setUp(self):
40-
"""Prepare the test."""
41-
# For Python 2.7 compatibility
42-
if not hasattr(self, 'assertRegex'):
43-
self.assertRegex = self.assertRegexpMatches
44-
4539
def test_check_dgii(self):
4640
"""Test stdnum.do.rnc.check_dgii()"""
4741
# Test a normal valid number

0 commit comments

Comments
 (0)