diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2019-01-14 16:01:24 +0100 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-01-14 16:01:24 +0100 |
| commit | fe2bbe2d304c7d785e25dbcd93b54a960800f822 (patch) | |
| tree | 908fc039d633138c5bdb854790f349c872789877 | |
| parent | c98bcc8ba676d0f4fdf56d846307278969ab340c (diff) | |
| download | astroid-git-fe2bbe2d304c7d785e25dbcd93b54a960800f822.tar.gz | |
Remove the tests disabled due to previous impl. of path copying
| -rw-r--r-- | astroid/tests/unittest_inference.py | 5 | ||||
| -rw-r--r-- | astroid/tests/unittest_object_model.py | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/astroid/tests/unittest_inference.py b/astroid/tests/unittest_inference.py index c676baa9..aa20ce73 100644 --- a/astroid/tests/unittest_inference.py +++ b/astroid/tests/unittest_inference.py @@ -1252,7 +1252,6 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase): self.assertEqual(len(foo_class.instance_attrs["attr"]), 1) self.assertEqual(bar_class.instance_attrs, {"attr": [assattr]}) - @pytest.mark.xfail(reason="Relying on path copy") def test_nonregr_multi_referential_addition(self): """Regression test for https://github.com/PyCQA/astroid/issues/483 Make sure issue where referring to the same variable @@ -1266,7 +1265,6 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase): variable_a = extract_node(code) self.assertEqual(variable_a.inferred()[0].value, 2) - @pytest.mark.xfail(reason="Relying on path copy") @test_utils.require_version(minver="3.5") def test_nonregr_layed_dictunpack(self): """Regression test for https://github.com/PyCQA/astroid/issues/483 @@ -2364,7 +2362,6 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase): self.assertRaises(InferenceError, next, module["other_decorators"].infer()) self.assertRaises(InferenceError, next, module["no_yield"].infer()) - @pytest.mark.xfail(reason="Relying on path copy") def test_nested_contextmanager(self): """Make sure contextmanager works with nested functions @@ -4771,7 +4768,6 @@ class ObjectDunderNewTest(unittest.TestCase): self.assertIsInstance(inferred, Instance) -@pytest.mark.xfail(reason="Relying on path copy") def test_augassign_recursion(): """Make sure inference doesn't throw a RecursionError @@ -4970,7 +4966,6 @@ class TestInferencePropagation: """Make sure function argument values are properly propagated to sub functions""" - @pytest.mark.xfail(reason="Relying on path copy") def test_call_context_propagation(self): n = extract_node( """ diff --git a/astroid/tests/unittest_object_model.py b/astroid/tests/unittest_object_model.py index e373c761..55ce756c 100644 --- a/astroid/tests/unittest_object_model.py +++ b/astroid/tests/unittest_object_model.py @@ -374,7 +374,6 @@ class FunctionModelTest(TestCase): with self.assertRaises(exceptions.InferenceError): next(node.infer()) - @pytest.mark.xfail(reason="Relying on path copy") def test_descriptor_error_regression(self): """Make sure the following code does node cause an exception""" |
