title: Looping over operator
body: <p>I am writing a test for a type class and I was wondering if there is a way of looping and changing the operator? so loop over <code>[+, -, *, / , // ] </code></p>
  <p>so what I want to do is :</p>
  <pre class="lang-py prettyprint-override"><code>for op in operators:
   assert 2 op my_type == 2 op my_type.num_atr # op being the operator +, - etc 
  </code></pre>
  <p>so this would the same as</p>
  <pre class="lang-py prettyprint-override"><code>assert 2 + my_type == 2 + my_type.num_atr
  assert 2 - my_type == 2 - my_type.num_atr
  assert 2 * my_type == 2 * my_type.num_atr
  # ....
  </code></pre>
  <p>Is this somehow possible? I understand that this somewhat just syntactic sugar and that there are not too many operators but this would make it faster to change all of the tests at the same time.</p>