File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def test_suite():
5757 return testscenarios .tests .test_suite ()
5858
5959
60- def load_tests (standard_tests , module , loader ):
60+ def load_tests (loader , standard_tests , pattern ):
6161 standard_tests .addTests (loader .loadTestsFromNames (["testscenarios.tests" ]))
6262 return standard_tests
6363
Original file line number Diff line number Diff line change 1515# limitations under that license.
1616
1717import doctest
18- import sys
1918import unittest
2019
2120import testscenarios
2221
2322
2423def test_suite ():
25- standard_tests = unittest .TestSuite ()
26- module = sys .modules ["testscenarios.tests" ]
2724 loader = unittest .TestLoader ()
28- return load_tests (standard_tests , module , loader )
25+ standard_tests = unittest .TestSuite ()
26+ return load_tests (loader , standard_tests , None )
2927
3028
31- def load_tests (standard_tests , module , loader ):
29+ def load_tests (loader , standard_tests , pattern ):
3230 test_modules = [
3331 "testcase" ,
3432 "scenarios" ,
You can’t perform that action at this time.
0 commit comments