diff options
Diffstat (limited to 'tests/testmock.py')
-rw-r--r-- | tests/testmock.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/testmock.py b/tests/testmock.py index 604c688..31ea50c 100644 --- a/tests/testmock.py +++ b/tests/testmock.py @@ -420,19 +420,6 @@ class MockTest(unittest2.TestCase): test_attributes(Mock(spec=Something())) - def test_spec_return_value(self): - class A(object): - pass - for Klass in Mock, MagicMock: - for arg in ('spec', 'spec_set'): - kwargs = {arg: A} - m = Klass(**kwargs) - self.assertTrue(isinstance(m, A)) - - instance = m() - self.assertTrue(isinstance(instance, A)) - - def test_wraps_calls(self): real = Mock() |