Skip to content

Commit ec5cb8d

Browse files
committed
replace unittest.SkipTest with pytest.skip
1 parent 6a74e6a commit ec5cb8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_databases/test_dbsync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class TestDBSync(ABC, unittest.TestCase):
2626
def setUpClass(cls):
2727
# Skip tests on this abstract base class
2828
if cls is TestDBSync:
29-
raise unittest.SkipTest(f"{cls.__name__} is an abstract base class")
29+
raise pytest.skip(f"{cls.__name__} is an abstract base class")
3030
else:
3131
super().setUpClass()
3232

0 commit comments

Comments
 (0)