Skip to content

Conversation

@PetrDlouhy
Copy link

I was getting TypeError: __exit__() takes 1 positional argument but 4 were given with following Django code:

          with no_connection():
              o = c.recalculate(10, BillingInfo(tax_number='48136450', country='CZ'))
              self.assertEqual(o.tax, 21)

This MR fixes that problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants