普通函数嗲用def one(): a="aaaaaaaaaaa" return a def test_one(): s=one() print (s) test_one() pytest函数之间调用 @pytest.fixture def one(): a="aaaaaaaaaaa" return a def test_one(one): s=one print (s)