Skip to content

Commit

Permalink
Fix test when traitlets not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
francisco-dlp committed May 27, 2020
1 parent e1dfb24 commit a18640d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion link_traits/test_link_traits.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class _B(traitlets.HasTraits):
count = traitlets.Int()
ab = ((_A, _A), (_A, _B), (_B, _A), (_B, _B))
except ImportError:
ab = (_A, _A)
ab = ((_A, _A),)
_B = _A


class TestLinkBidirectional:
Expand Down

0 comments on commit a18640d

Please sign in to comment.