Skip to content

Commit 46a53cd

Browse files
Filter expected setup_chat_format deprecation warning in CI (#4306)
1 parent 6105040 commit 46a53cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_dataset_formatting.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def test_get_formatting_func_from_dataset_with_unknown_format(self):
118118
assert formatting_func is None
119119

120120

121+
@pytest.mark.filterwarnings("ignore::FutureWarning")
121122
class TestSetupChatFormat(TrlTestCase):
122123
def setup_method(self):
123124
self.tokenizer = AutoTokenizer.from_pretrained("trl-internal-testing/tiny-Qwen2ForCausalLM-2.5")

0 commit comments

Comments
 (0)