[Solved] How can I prevent self from eating one of my test parameters?


It seems like you need to instantiate AgentCOne before calling c_bar on it because c_bar is not a static method (and will take the first argument as self).

c = AgentCOne.c_bar(alpha, beta, delta)
# should be
c = AgentCOne().c_bar(alpha, beta, delta)

solved How can I prevent self from eating one of my test parameters?