old_contents: # -*- coding: utf-8 -*-
  
  
  def pytest_funcarg__api_factory(request):
      class APIFactory:
          def create(self, token='dummy_token'):
              from annict.api import API
              return API(token)
      return APIFactory()
  
new_contents: # -*- coding: utf-8 -*-
  import pytest
  
  
  @pytest.fixture
  def api_factory():
      class APIFactory:
          def create(self, token='dummy_token'):
              from annict.api import API
              return API(token)
      return APIFactory()
  
subject: Fix old-style `pytest_funcarg__`, instead @pytest.fixture.