コード例 #1
0
 def no_tests_please(arg: tc.none(TestCase, classname_contains_Test)): pass
 no_tests_please("stuff")        # OK
コード例 #2
0
 def taboo(x: tc.none(tc.re("foo"), tc.re("bar"))):
     pass
コード例 #3
0
 def foo(x: tc.none()):
     pass
コード例 #4
0
 def no_tests_please(arg: tc.none(TestCase, classname_contains_Test)):
     pass
コード例 #5
0
 def taboo(x: tc.none(tc.re("foo"), tc.re("bar"))):
     pass
コード例 #6
0
 def foo(x: tc.none()):
     pass