Skip to content
Snippets Groups Projects
Commit 38663288 authored by fuzzyman's avatar fuzzyman
Browse files

Whitespace change.

parent a62043a3
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,6 @@ from tests.support import unittest2, apply
from mock import Mock, mocksignature, patch
class TestMockSignature(unittest2.TestCase):
def testFunction(self):
......@@ -97,7 +96,6 @@ class TestMockSignature(unittest2.TestCase):
def f(*args):
pass
g = mocksignature(f)
g.mock.return_value = 3
self.assertEqual(g(1, 2, 'many'), 3)
......@@ -142,6 +140,7 @@ class TestMockSignature(unittest2.TestCase):
mock_wibble.assert_called_with(instance)
instance.wibble.mock.assert_called_with(instance)
def testMockSignatureWithReservedArg(self):
def f(_mock_):
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment