Skip to content

Commit

Permalink
fix(tests): use strict equality assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Dec 12, 2016
1 parent c58701a commit 08a6ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/matchers/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def match(self, x):

def test_base_matcher_instance():
matcher = _BaseMatcher('foo')
assert matcher.name is '_BaseMatcher'
assert matcher.name == '_BaseMatcher'
assert matcher.negate is False
assert matcher.expectation == 'foo'
assert matcher.to_dict() == {'_BaseMatcher': 'foo'}
Expand Down

0 comments on commit 08a6ec9

Please sign in to comment.