Skip to content

Commit

Permalink
Update the h2htbl_test case to run in a container
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95858 committed May 14, 2019
1 parent 30f4a68 commit dac0cab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/h2htbl_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import numpy as np
import numpy.random as nprnd
import time
import sys
class Debug(object): pass

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -37,7 +38,7 @@ def tearDownClass(cls):

def test_00_add_tokens(self):
global next_tkn_id
f = open("eng-dictionary", "r")
f = open(os.path.dirname(sys.argv[0]) + "/eng-dictionary", "r")
for word in f:
tkn_text = word.rstrip()
if next_tkn_id % 300 == 0:
Expand Down

0 comments on commit dac0cab

Please sign in to comment.