I am writing some unittests in python that are testing if I receive an integer. However sometimes this integer can be off by 1 or 2 and I don\'t really care. Essentially I w
self.assertTrue(998 <= my_integer <= 1000)