<commit_before>import os.path
import pytest
import py

from taskqueue import get_ServerManager


@pytest.fixture()
def async_executor(request):
    sm = get_ServerManager(make_server=True)
    sm.start()
    request.addfinalizer(sm.shutdown)
    return sm.Server()

<commit_msg>Run pynpact tests on alternate address<commit_after>import pytest
import taskqueue


@pytest.fixture(scope="session")
def async_executor(request):
    taskqueue.LISTEN_ADDRESS = ('127.0.1.1', 57129)
    sm = taskqueue.get_ServerManager(make_server=True)
    sm.start()
    request.addfinalizer(sm.shutdown)
    return sm.Server()


{'fraction_non_alphanumeric': 0.10344827586206896, 'fraction_numerical': 0.0180623973727422, 'mean_word_length': 4.922330097087379, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1532851', 'n_tokens_mistral': 212, 'n_tokens_neox': 206, 'n_words': 40}