title: Is there a python assert() method which checks between two boundaries?
body: <p>In some unit testing I'm currently doing, I need to pass a test when a variable lies between two boundary conditions.</p>
  
  <p>Something like -</p>
  
  <pre><code>def myTest(self):
      myInt = 5
      self.assertBetween(myInt,3,8)
  </code></pre>
  
  <p>would pass the test. Or if myInt lied outside of the range 3 to 8 it would fail. </p>
  
  <p>I've looked down the list of assert methods in the python documentation and can't work out which one would give me this sort of functionality.</p>
  
  <p>Thanks.</p>