Commit 5aa3856b authored by Berker Peksag's avatar Berker Peksag Committed by GitHub

bpo-28961: Address my comments from earlier code review (#305)

parent 160edb43
......@@ -307,18 +307,9 @@ class CallTest(unittest.TestCase):
self.assertEqual(args, other_args)
def test_call_with_name(self):
self.assertEqual(
'foo',
_Call((), 'foo')[0],
)
self.assertEqual(
'',
_Call((('bar', 'barz'), ), )[0]
)
self.assertEqual(
'',
_Call((('bar', 'barz'), {'hello': 'world'}), )[0]
)
self.assertEqual(_Call((), 'foo')[0], 'foo')
self.assertEqual(_Call((('bar', 'barz'),),)[0], '')
self.assertEqual(_Call((('bar', 'barz'), {'hello': 'world'}),)[0], '')
class SpecSignatureTest(unittest.TestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment