Skip to content

Commit

Permalink
Fix skip test for change in Python 3.12 (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Dec 19, 2023
1 parent a4ba667 commit ddd703a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_test.py
Expand Up @@ -36,9 +36,8 @@ def test_failure_sql_query(self):
)
self.assertTrue(False)

@unittest.skip("some reason")
def test_skip(self): # pragma: no cover
raise ValueError("never run")
def test_skip(self):
self.skipTest("some reason")

@unittest.expectedFailure
def test_expected_failure(self):
Expand Down

0 comments on commit ddd703a

Please sign in to comment.