Skip to content

Commit ce291db

Browse files
authored
Merge pull request #3 from eldaduzman/fix-code-examples
fix-code-examples
2 parents 3c0c156 + 4dc4be0 commit ce291db

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,16 @@ Decorate your unittest class with `@perf_unit_test_class` to turn standard unit
3131
from perf_unit import perf_unit_test_class
3232
import unittest
3333

34-
@perf_unit_test_class
34+
@perf_unit_test_class()
3535
class MyTestCase(unittest.TestCase):
3636

3737
def test_example1(self):
3838
# Your test code here
39+
pass
3940

4041
def test_example2(self):
4142
# Another test code
43+
pass
4244

4345
if __name__ == '__main__':
4446
unittest.main()

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "python-perf-unit"
3-
version = "0.0.1a"
3+
version = "0.0.1-alpha"
44
description = "Decorators and utilities for python performance unit testing"
55
authors = ["Eldad Uzman <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)