Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
fix(test): fix broken code
  • Loading branch information
Han Xiao committed Aug 2, 2019
1 parent e35b31c commit a0fdad36d4f5d139012cdc540266bb836c2ebf41
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/
@@ -8,7 +8,6 @@
from gnes.preprocessor.image.sliding_window import VanillaSlidingPreprocessor
from gnes.proto import gnes_pb2, blob2array

def img_process_for_test(dirname):
zipfile_ = zipfile.ZipFile(os.path.join(dirname, 'imgs/'))
all_bytes = [ for v in zipfile_.namelist()]
@@ -28,8 +27,8 @@ def img_process_for_test(dirname):
for img in test_img_copy:
for img in

for img in test_img_copy for chunk in img.chunks])
return test_img_all_preprocessor

class TestONNXImageEncoder(unittest.TestCase):

0 comments on commit a0fdad3

Please sign in to comment.