Skip to content

Commit

Permalink
finished with test, started on ghostwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
mristin committed Dec 10, 2020
1 parent f961ae6 commit fb1ea3e
Show file tree
Hide file tree
Showing 11 changed files with 468 additions and 125 deletions.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -566,7 +566,7 @@ Here is some example code:
self.assertEqual(123, some_func(15))
if __name__ == '__main__':
unittest.main()
unittest.entry_point()
Run this bash command to execute the unit test with slow contracts:

Expand Down
2 changes: 1 addition & 1 deletion benchmark.py
Expand Up @@ -73,7 +73,7 @@ def benchmark_against_others(repo_root: pathlib.Path, overwrite: bool) -> None:


def main() -> int:
""""Execute main routine."""
""""Execute entry_point routine."""
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--overwrite", help="Overwrites the corresponding section in the Readme.", action='store_true')

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/import_cost/generate.py
Expand Up @@ -58,7 +58,7 @@ def some_func(self) -> None:


def main() -> None:
""""Execute the main routine."""
""""Execute the entry_point routine."""
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--outdir", help="output directory", default=os.path.dirname(__file__))
args = parser.parse_args()
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/import_cost/measure.py
Expand Up @@ -10,7 +10,7 @@


def main() -> None:
""""Execute the main routine."""
""""Execute the entry_point routine."""
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument(
"--module",
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/import_cost/runme.py
Expand Up @@ -7,7 +7,7 @@


def main() -> None:
""""Execute the main routine."""
""""Execute the entry_point routine."""
modules = [
"functions_100_with_no_contract",
"functions_100_with_1_contract",
Expand Down

0 comments on commit fb1ea3e

Please sign in to comment.