"""Tests for the SamplingParams class."""fromvllmimportSamplingParamsdeftest_max_tokens_none():"""max_tokens=None should be allowed"""SamplingParams(temperature=0.01,top_p=0.1,max_tokens=None)if__name__=="__main__":importpytestpytest.main([__file__])