def test_lambda_with_closure(self): """Tests that the closure of a function is preserved.""" self.assertEquals( 'closure: abc', loads(dumps(module_test.get_lambda_with_closure('abc')))())
def test_lambda_with_closure(self): """Tests that the closure of a function is preserved.""" self.assertEqual( 'closure: abc', loads(dumps(module_test.get_lambda_with_closure('abc')))())