Skip to content

Commit

Permalink
fixed wrong test import
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLeoni committed Nov 24, 2018
1 parent 3c67de4 commit d53bb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def copy_code(source_dir, dest_dir, copy_test=True, copy_solutions=False):

elif fileKind == FileKinds.TEST:
with open(source_abs_filename, encoding='utf-8') as source_f:
data=source_f.read().replace('_solution ', ' ')
data=source_f.read().replace('_solution ', '_exercise ')
info('Writing patched test %s' % source_filename)
with open(dest_filename, 'w', encoding='utf-8') as dest_f:
writer = dest_f.write(data)
Expand Down

0 comments on commit d53bb6b

Please sign in to comment.