<commit_before>#!/bin/sh

if [ "$TRAVIS_OS_NAME" = "osx" ] && ! python3; then
    # Install Python3 on osx
    brew upgrade python
    pip3 install setuptools --upgrade
    pip3 install .[test]
else
    pip install setuptools --upgrade
    pip install .[test]
fi
<commit_msg>Fix Python3 installation for macOS CI tests<commit_after>#!/usr/bin/env bash

if [ "$TRAVIS_OS_NAME" = "osx" ]; then
    if ! type python3 > /dev/null 2>&1; then
        # Install Python3 on osx
        brew upgrade python
    fi

    pip3 install setuptools --upgrade
    pip3 install .[test]
else
    pip install setuptools --upgrade
    pip install .[test]
fi

{'fraction_non_alphanumeric': 0.10188087774294671, 'fraction_numerical': 0.017241379310344827, 'mean_word_length': 2.7588235294117647, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1022990', 'n_tokens_mistral': 223, 'n_tokens_neox': 212, 'n_words': 71}