commit 310e361494795e7d91c0e1dbaca22a537aaaa2a0 Author: Damian Johnson atagar@torproject.org Date: Sun Jan 5 13:05:10 2020 -0800
Drop python 2.6 workaround for lack of setUpClass --- test/integ/manual.py | 3 --- test/unit/installation.py | 3 --- 2 files changed, 6 deletions(-)
diff --git a/test/integ/manual.py b/test/integ/manual.py index 86811917..3e721ac6 100644 --- a/test/integ/manual.py +++ b/test/integ/manual.py @@ -59,9 +59,6 @@ EXPECTED_EXIT_POLICY_DESCRIPTION_END = 'it applies to both IPv4 and IPv6 address
class TestManual(unittest.TestCase): - # TODO: remove when dropping support for python 2.6 - skip_reason = 'setUpClass() unsupported in python 2.6' - @classmethod def setUpClass(self): self.man_path = None diff --git a/test/unit/installation.py b/test/unit/installation.py index a91f0362..4b2a795c 100644 --- a/test/unit/installation.py +++ b/test/unit/installation.py @@ -7,9 +7,6 @@ import test
class TestInstallation(unittest.TestCase): - # TODO: remove when dropping support for python 2.6 - skip_reason = 'setUpClass() unsupported in python 2.6' - @classmethod def setUpClass(self): setup_path = os.path.join(test.STEM_BASE, 'setup.py')
tor-commits@lists.torproject.org