Skip to content
Browse files

Stupid typo, broken under Python 3

  • Loading branch information...
1 parent acba823 commit a0702702287015a988a133f381f428c32a7c6891 @peterjc peterjc committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 Tests/run_tests.py
View
2 Tests/run_tests.py
@@ -155,7 +155,7 @@ def _have_bug17666():
"\x02\x00\x1b\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00"
if sys.version_info[0] >= 3:
import codecs
- bgzf_eof = codecs.latin_1_decode(bgzf_eof)[0]
+ bgzf_eof = codecs.latin_1_encode(bgzf_eof)[0]
h = gzip.GzipFile(fileobj=BytesIO(bgzf_eof))
try:
data = h.read()

0 comments on commit a070270

Please sign in to comment.
Something went wrong with that request. Please try again.