diff options
| author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-19 09:00:35 +0200 |
|---|---|---|
| committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-19 19:56:25 +0200 |
| commit | d69f5ead6ca26211335f6b91f0ee1ca724e92802 (patch) | |
| tree | 4fadc7346bfbf11fde44f11382e6a2b9ba48917a | |
| parent | 87d916ad114d8fdc568e1de688f60836d9c18c00 (diff) | |
| download | astroid-git-d69f5ead6ca26211335f6b91f0ee1ca724e92802.tar.gz | |
Remove conditional for having pytest, we have pytest
| -rw-r--r-- | tests/unittest_brain.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/unittest_brain.py b/tests/unittest_brain.py index 4eee0465..b62b3655 100644 --- a/tests/unittest_brain.py +++ b/tests/unittest_brain.py @@ -62,8 +62,6 @@ except ImportError: import pytest -HAS_PYTEST = True - try: import attr as attr_module # pylint: disable=unused-import @@ -904,7 +902,6 @@ class DateutilBrainTest(unittest.TestCase): self.assertEqual(d_type.qname(), "datetime.datetime") -@unittest.skipUnless(HAS_PYTEST, "This test requires the pytest library.") class PytestBrainTest(unittest.TestCase): def test_pytest(self): ast_node = builder.extract_node( |
