All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lib-python.2.7.lib2to3.tests.test_all_fixers.py Maven / Gradle / Ivy

"""Tests that run all fixer modules over an input stream.

This has been broken out into its own test module because of its
running time.
"""
# Author: Collin Winter

# Python imports
import unittest

# Local imports
from lib2to3 import refactor
from . import support


class Test_all(support.TestCase):

    def setUp(self):
        self.refactor = support.get_refactorer()

    def test_all_project_files(self):
        for filepath in support.all_project_files():
            self.refactor.refactor_file(filepath)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy