<commit_before>from __future__ import absolute_import

import sys
from nose import SkipTest
from flask import Flask
from flask.ext.assets import Environment, ManageAssets
from webassets.script import GenericArgparseImplementation
from tests.helpers import TempEnvironmentHelper

# Flask-script seemingly no longer supports 2.6
if sys.version_info[:2] == (2, 6):
    raise SkipTest()

try:
    from flask.ext.script import Manager
except:<commit_msg>"Merge pull request #89 from tflink/master\n\nMove check for flask-script before importing ManageAssets"<commit_after>from __future__ import absolute_import

from nose import SkipTest

# check for flask-script before importing things that fail if it's not present
try:
    from flask.ext.script import Manager
except:
    raise SkipTest()

import sys
from flask import Flask
from flask.ext.assets import Environment, ManageAssets
from webassets.script import GenericArgparseImplementation
from tests.helpers import TempEnvironmentHelper

# Flask-script seemingly no longer supports 2.6
if sys.version_info[:2] == (2, 6):
{'fraction_non_alphanumeric': 0.05986903648269411, 'fraction_numerical': 0.011225444340505144, 'mean_word_length': 5.564417177914111, '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': '6919682', 'n_tokens_mistral': 302, 'n_tokens_neox': 287, 'n_words': 112}