title: Why is my simple __eq__ implementation giving an AssertionError?
body: <p>I am trying to implement a standard equality operator in Python 3.3, following code samples from other questions. I'm getting an assertion error, but I can't figure out what's broken. What did I miss here?</p>
  
  <pre><code>class RollResult:
      def __init__(self, points, unscored_dice):
          self.points = points
          self.unscored_dice = unscored_dice
  
      def __eq__(self, other):
          return (self.points == other.points and self.unscored_dice == other.unscored_dice)
  </code></pre>
  
  <p>And here's the test. Many other tests are passing, so the basic setup is right. This is my first test of the class and I've never tried unit testing equality overloads before, so it may be the fault of the test as well.</p>
  
  <pre><code>class TestRollResultClass(unittest.TestCase):
      def test_rollresult_equality_overload_does_not_test_for_same_object(self):
          copy1 = RollResult(350,2)
          copy2 = RollResult(350,2)
          self.assertNotEqual(copy1,copy2)
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>AssertionError: &lt;greed.RollResult object at 0x7fbc21c1b650&gt; == &lt;greed.RollResult object at 0x7fbc21c1b650&gt;                                        
  </code></pre>