Skip to content

Commit

Permalink
Flakes correction; do not rely on interning behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgregor committed Apr 25, 2019
1 parent 840af20 commit 89046f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_invalid_import_nodefault(self):
assert load('foo.bar:baz')

def test_invalid_import_default(self):
assert load('foo.bar:baz', default="hi") is "hi"
assert load('foo.bar:baz', default="hi") == "hi"

def test_basic_import(self):
assert load('test.helper:Example') is helper.Example
Expand Down

0 comments on commit 89046f0

Please sign in to comment.