mirror of
https://github.com/beautifier/js-beautify.git
synced 2025-02-25 07:40:49 +00:00
17 lines
232 B
Python
Executable File
17 lines
232 B
Python
Executable File
#! /usr/bin/env python
|
|
|
|
import sys
|
|
import unittest
|
|
|
|
#Speedup things...
|
|
try:
|
|
import cProfile as profile
|
|
except ImportError:
|
|
import profile
|
|
|
|
def run():
|
|
sys.argv.append('discover')
|
|
unittest.main()
|
|
|
|
profile.run('run()')
|