Skip to content

Commit

Permalink
Don't cover Python 3.8 specific line for now untils coverage bug is f…
Browse files Browse the repository at this point in the history
  • Loading branch information
langmm committed Mar 6, 2020
1 parent 56afcb4 commit f45c5d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ omit =
sort = Cover
ignore_errors = True
show_missing = True
exclude_lines =
exclude_lines =
pragma: Python 3.8
pragma: no cover
pragma: debug
pragma: in progress
Expand Down
2 changes: 1 addition & 1 deletion yggdrasil/serialize/PickleSerialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_testing_options(cls, **kwargs):
out['contents'] = (
b'\x80\x03C\rTest message\nq\x00.'
+ b'\x80\x03C\x0fTest message 2\nq\x00.')
else:
else: # pragma: Python 3.8
out['contents'] = (
b'\x80\x04\x95\x11\x00\x00\x00\x00\x00\x00\x00C\r'
+ b'Test message\n\x94.\x80\x04\x95\x13'
Expand Down

0 comments on commit f45c5d2

Please sign in to comment.