def test_method(self):
    'Test getargspec.'
    expected = method(1, 2)
    returned = self.getargspec(method)
    self.assertEqual(returned, expected)
    self.assertIsInstance(returned, self.expected_class)
    self.assertNoDeprecation()
Test getargspec.
def test_method(self):
    
    expected = method(1, 2)
    returned = self.getargspec(method)
    self.assertEqual(returned, expected)
    self.assertIsInstance(returned, self.expected_class)
    self.assertNoDeprecation()