003 File Manager
Current Path:
/usr/local/lib/python3.8/lib2to3/tests
usr
/
local
/
lib
/
python3.8
/
lib2to3
/
tests
/
📁
..
📄
__init__.py
(168 B)
📄
__main__.py
(58 B)
📁
__pycache__
📁
data
📄
pytree_idempotency.py
(2.4 KB)
📄
support.py
(1.9 KB)
📄
test_all_fixers.py
(595 B)
📄
test_fixers.py
(119.87 KB)
📄
test_main.py
(5.61 KB)
📄
test_parser.py
(22.57 KB)
📄
test_pytree.py
(16 KB)
📄
test_refactor.py
(12.15 KB)
📄
test_util.py
(20.71 KB)
Editing: test_all_fixers.py
"""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 import test.support # Local imports from . import support @test.support.requires_resource('cpu') 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) if __name__ == '__main__': unittest.main()
Upload File
Create Folder