Skip to content

Commit

Permalink
Fix a typo in test_diagram.
Browse files Browse the repository at this point in the history
test_diagram missed an assertion in testing whether composite morphisms
are properly added.
  • Loading branch information
scolobb committed Jun 15, 2012
1 parent 488f051 commit 813eeb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sympy/categories/tests/test_baseclasses.py
Expand Up @@ -135,6 +135,7 @@ def test_diagram():


assert d2.objects == FiniteSet(A, B, C) assert d2.objects == FiniteSet(A, B, C)
assert g * f in d2.premises.keys() assert g * f in d2.premises.keys()
assert homAC == FiniteSet(g * f)


# Test equality, inequality and hash. # Test equality, inequality and hash.
d11 = Diagram([f]) d11 = Diagram([f])
Expand Down

0 comments on commit 813eeb7

Please sign in to comment.