Skip to content

Commit 47ca6ff

Browse files
committed
Skip RefreshOption.SLAVE test which was removed in MySQL 8.0.32
1 parent 7167cbe commit 47ca6ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_constants.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,10 @@ def test_get_desc(self):
590590
"with {}".format(opt_name),
591591
)
592592

593+
@unittest.skipIf(
594+
tests.MYSQL_VERSION > (8, 0, 31),
595+
"RefreshOption.SLAVE was removed in 8.0.32",
596+
)
593597
def test_deprecated(self):
594598
"""Test deprecated warning is raised"""
595599
with warnings.catch_warnings(record=True) as warn:

0 commit comments

Comments
 (0)