Skip to content

Commit d347de7

Browse files
author
Martin Journois
committed
Fix pep8
1 parent 65bd107 commit d347de7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_notebooks.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@
1010
import sys
1111
import folium
1212

13-
if sys.version_info[:2]==(3,4):
13+
if sys.version_info[:2] == (3, 4):
1414
import nbconvert
1515

1616
rootpath = os.path.abspath(os.path.dirname(__file__))
1717

18-
1918
class NotebookTester(object):
2019
def __init__(self, filename):
2120
self.filename = filename
@@ -32,7 +31,6 @@ def __call__(self, exporter=None, filename=None):
3231
filename = self.filename[:-6] + exporter.file_extension
3332
open(filename, 'w').write(out_nb[0].encode('utf-8'))
3433

35-
3634
class TestNotebooks(object):
3735
_filepath = rootpath.rstrip('/')+'/../examples/'
3836
_nblist = [x for x in os.listdir(_filepath) if x.endswith('.ipynb')]

0 commit comments

Comments
 (0)