Skip to content

Commit

Permalink
Remove conditional for having pytest, we have pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Apr 19, 2021
1 parent 87d916a commit d69f5ea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/unittest_brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@

import pytest

HAS_PYTEST = True

try:
import attr as attr_module # pylint: disable=unused-import

Expand Down Expand Up @@ -904,7 +902,6 @@ def test_parser(self):
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(
Expand Down

0 comments on commit d69f5ea

Please sign in to comment.