Skip to content

Commit

Permalink
tch16
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Sep 5, 2017
1 parent d41f7a3 commit 9e042d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/tests/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def test_ch09(self):

# run only on Py3, because of the Py3 specific pickle files
if (sys.version_info >= (3, 0)):
os.chdir(this_dir)
run_ipynb(os.path.join(this_dir, '../ch09/ch09.ipynb'))
else:
pass
Expand Down Expand Up @@ -129,8 +128,10 @@ def test_ch15(self):

def test_ch16(self):
this_dir = os.path.dirname(os.path.abspath(__file__))
run_ipynb(os.path.join(this_dir,
'../ch16/ch16.ipynb'))
# run only on Py3, because of Py2 unicode handling
if (sys.version_info >= (3, 0)):
run_ipynb(os.path.join(this_dir,
'../ch16/ch16.ipynb'))


if __name__ == '__main__':
Expand Down

0 comments on commit 9e042d8

Please sign in to comment.