File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,16 @@ Decorate your unittest class with `@perf_unit_test_class` to turn standard unit
3131from perf_unit import perf_unit_test_class
3232import unittest
3333
34- @perf_unit_test_class
34+ @perf_unit_test_class ()
3535class 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
4345if __name__ == ' __main__' :
4446 unittest.main()
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " python-perf-unit"
3- version = " 0.0.1a "
3+ version = " 0.0.1-alpha "
44description = " Decorators and utilities for python performance unit testing"
55authors = [
" Eldad Uzman <[email protected] >" ]
66license = " MIT"
You can’t perform that action at this time.
0 commit comments