File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2011,13 +2011,13 @@ def test_callable_instance_type_error(self):
20112011 def f ():
20122012 pass
20132013 with self .assertRaises (TypeError ):
2014- self . assertIsInstance (f , Callable [[], None ])
2014+ isinstance (f , Callable [[], None ])
20152015 with self .assertRaises (TypeError ):
2016- self . assertIsInstance (f , Callable [[], Any ])
2016+ isinstance (f , Callable [[], Any ])
20172017 with self .assertRaises (TypeError ):
2018- self . assertNotIsInstance (None , Callable [[], None ])
2018+ isinstance (None , Callable [[], None ])
20192019 with self .assertRaises (TypeError ):
2020- self . assertNotIsInstance (None , Callable [[], Any ])
2020+ isinstance (None , Callable [[], Any ])
20212021
20222022 def test_repr (self ):
20232023 Callable = self .Callable
You can’t perform that action at this time.
0 commit comments