diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2020-03-10 11:38:19 +0100 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-03-10 11:38:19 +0100 |
commit | f2c75754dbaafbe2d9800eb8d3fc38383414dad1 (patch) | |
tree | e9107dab998704fca9dc4f0229be9cd5cdd64c7b /tests/unittest_helpers.py | |
parent | baa58746a2c9e51b757c623c883a02151bda4265 (diff) | |
download | astroid-git-f2c75754dbaafbe2d9800eb8d3fc38383414dad1.tar.gz |
Remove Python 2 specific tests
Diffstat (limited to 'tests/unittest_helpers.py')
-rw-r--r-- | tests/unittest_helpers.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/unittest_helpers.py b/tests/unittest_helpers.py index 8ed07ede..b62b3afc 100644 --- a/tests/unittest_helpers.py +++ b/tests/unittest_helpers.py @@ -192,21 +192,6 @@ class TestHelpers(unittest.TestCase): self.assertFalse(helpers.is_subtype(cls_a, cls_b)) self.assertFalse(helpers.is_subtype(cls_a, cls_b)) - @test_utils.require_version(maxver="3.0") - def test_is_subtype_supertype_old_style_classes(self): - cls_a, cls_b = builder.extract_node( - """ - class A: #@ - pass - class B(A): #@ - pass - """ - ) - self.assertFalse(helpers.is_subtype(cls_a, cls_b)) - self.assertFalse(helpers.is_subtype(cls_b, cls_a)) - self.assertFalse(helpers.is_supertype(cls_a, cls_b)) - self.assertFalse(helpers.is_supertype(cls_b, cls_a)) - def test_is_subtype_supertype_mro_error(self): cls_e, cls_f = builder.extract_node( """ |