Skip to content

Commit

Permalink
Revert "fix: error instance to pytest"
Browse files Browse the repository at this point in the history
This reverts commit 94dffdc.
  • Loading branch information
jamesstidard committed Mar 19, 2017
1 parent 94dffdc commit b57e12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_envconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ def test_env_override(config, mock_env, attribute, value_type, new_value_in, new

def test_cant_parse(config, mock_env):
mock_env({'ATTRIBUTE_INT': 'string'})
with pytest.raises(AttributeError()):
with pytest.raises(AttributeError):
print(config.ATTRIBUTE_INT)

0 comments on commit b57e12c

Please sign in to comment.