Permalink
Browse files

Fix a typo in test_diagram.

test_diagram missed an assertion in testing whether composite morphisms
are properly added.
  • Loading branch information...
1 parent 488f051 commit 813eeb7faab62e60708b7a662d28214092a4e4b2 @scolobb committed Jun 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 sympy/categories/tests/test_baseclasses.py
@@ -135,6 +135,7 @@ def test_diagram():
assert d2.objects == FiniteSet(A, B, C)
assert g * f in d2.premises.keys()
+ assert homAC == FiniteSet(g * f)
# Test equality, inequality and hash.
d11 = Diagram([f])

0 comments on commit 813eeb7

Please sign in to comment.