just alias cProfile to profile

This commit is contained in:
Mike Dirolf 2009-02-05 14:43:02 -05:00
parent 3e4527cf17
commit f5aa8f66f1

View File

@ -19,7 +19,7 @@ this should be updated to use that if it exists an `simplejson` otherwise.
"""
import datetime
import cProfile
import cProfile as profile
import sys
sys.path[0:0] = [""]
@ -64,4 +64,4 @@ def main():
assert case == run(enc_json, json.loads)
if __name__ == "__main__":
cProfile.run("main()")
profile.run("main()")