[minor] Remove deprecated function get_ip (#10883)

This commit is contained in:
Lianmin Zheng
2025-09-25 16:18:04 -07:00
committed by GitHub
parent 0035f1cefa
commit 35ec2a45a8
3 changed files with 9 additions and 15 deletions

View File

@@ -51,10 +51,10 @@ def setup_class(cls, backend: str):
)
class TestJSONConstrainedOutlinesBackend(CustomTestCase):
class TestJSONConstrained(CustomTestCase):
@classmethod
def setUpClass(cls):
setup_class(cls, backend="outlines")
setup_class(cls, backend="xgrammar")
@classmethod
def tearDownClass(cls):
@@ -137,13 +137,13 @@ class TestJSONConstrainedOutlinesBackend(CustomTestCase):
list(executor.map(self.run_decode, json_schemas))
class TestJSONConstrainedXGrammarBackend(TestJSONConstrainedOutlinesBackend):
class TestJSONConstrainedOutlinesBackend(TestJSONConstrained):
@classmethod
def setUpClass(cls):
setup_class(cls, backend="xgrammar")
setup_class(cls, backend="outlines")
class TestJSONConstrainedLLGuidanceBackend(TestJSONConstrainedOutlinesBackend):
class TestJSONConstrainedLLGuidanceBackend(TestJSONConstrained):
@classmethod
def setUpClass(cls):
setup_class(cls, backend="llguidance")