Skip to content

Commit

Permalink
Add minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
krakozaure committed Aug 26, 2018
1 parent 7f90f65 commit 88ce9e7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion pyzzy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

__author__ = "krakozaure"
__license__ = "MIT"
__name__ = "pyzzy"
__version__ = "0.0.6"

__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion tests/test_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def test_root_console_handler_output_without_traceback():
with capture_handler_stream(logger, "console_production") as stream:
try:
print("1 / 0 =", 1 / 0)
except ZeroDivisionError as exc:
except ZeroDivisionError:
logger.exception(message)
captured_output = stream.getvalue()

Expand Down
2 changes: 1 addition & 1 deletion tests/test_nested.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_nproxy_getitem(DATA_SOURCE):

def test_nproxy_getitem_raises():
with pytest.raises(nested.NestedOperationError):
nested.NProxy()["key1[0].key2[-1].key3"]
print(nested.NProxy()["key1[0].key2[-1].key3"])


def test_nproxy_nset(DATA_SOURCE):
Expand Down

0 comments on commit 88ce9e7

Please sign in to comment.