Skip to content

Commit

Permalink
Merge pull request #20 from fchapoton/patch-1
Browse files Browse the repository at this point in the history
do not use six
  • Loading branch information
vbraun authored Nov 13, 2020
2 parents 9bf36a0 + b2c1686 commit cb591d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
author='Volker Braun',
author_email='[email protected]',
install_requires=[
'six',
'ipython>=4',
'nbconvert>=4',
'notebook',
Expand Down
9 changes: 4 additions & 5 deletions test/test_sagenb_reader.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@

import os
import unittest
import six
from sagenb_export.sagenb_reader import (
NotebookSageNB,
TextCell, ComputeCell,
)


if six.PY2:
string_type = unicode
else:
string_type = str
try:
string_type = unicode # py2
except NameError:
string_type = str # py3


DOT_SAGE = os.path.join(os.path.dirname(__file__), 'dot_sage')
Expand Down

0 comments on commit cb591d4

Please sign in to comment.