<commit_before>#!/usr/bin/python
# -*- coding: utf-8 -*-
"""Script that forms part of pwb_tests."""
#
# (C) Pywikibot team, 2013-2015
#
# Distributed under the terms of the MIT license.
#
from __future__ import absolute_import, unicode_literals

import os.path

for k, v in sorted(locals().copy().items()):
    # Skip a few items that Python 3 adds and are not emulated in pwb.
    if k in ['__cached__', '__loader__', '__spec__']:
        continue
    if k == '__file__':
        print("__file__: %r" % os.path.join('.', os.path.relpath(__file__)))
    else:
        print("%r: %r" % (k, v))<commit_msg>[test] skip __annotations__ in print_locals.py<commit_after>#!/usr/bin/python
# -*- coding: utf-8 -*-
"""Script that forms part of pwb_tests."""
#
# (C) Pywikibot team, 2013-2017
#
# Distributed under the terms of the MIT license.
#
from __future__ import absolute_import, unicode_literals

import os.path

for k, v in sorted(locals().copy().items()):
    # Skip a few items that Python 3 adds and are not emulated in pwb.
    if k in ['__cached__', '__loader__', '__spec__', '__annotations__']:
        continue
    if k == '__file__':
        print("__file__: %r" % os.path.join('.', os.path.relpath(__file__)))
    else:
        print("%r: %r" % (k, v))
{'fraction_non_alphanumeric': 0.15873015873015872, 'fraction_numerical': 0.015873015873015872, 'mean_word_length': 3.424561403508772, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '7026877', 'n_tokens_mistral': 453, 'n_tokens_neox': 429, 'n_words': 136}