Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
remove unnecessary code, update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Aug 24, 2016
1 parent 121da76 commit a09914d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 105 deletions.
2 changes: 1 addition & 1 deletion _unittests/ut_filehelper/test_compress_helper.py
Expand Up @@ -115,7 +115,7 @@ def test_compress_7zip(self):

self.assertEqual(len(res), 1)
s = res[0].replace("\\", "/")
if not s.endswith("pyquickhelper/_unittests/ut_filehelper/temp_compress_7zip2/ftplib.html"):
if not s.endswith("_unittests/ut_filehelper/temp_compress_7zip2/ftplib.html"):
raise Exception(res[0])


Expand Down
42 changes: 0 additions & 42 deletions _unittests/ut_ipythonhelper/test_jupyter_cmd.py

This file was deleted.

1 change: 0 additions & 1 deletion src/pyquickhelper/ipythonhelper/__init__.py
Expand Up @@ -7,7 +7,6 @@
from .helper_in_notebook import store_notebook_path, set_notebook_name_theNotebook, add_notebook_menu, load_extension
from .html_forms import open_html_form
from .interact import StaticInteract
from .jupyter_cmd import jupyter_cmd
from .kindofcompletion import AutoCompletion, AutoCompletionFile
from .magic_class import MagicClassWithHelpers
from .magic_parser import MagicCommandParser
Expand Down
60 changes: 0 additions & 60 deletions src/pyquickhelper/ipythonhelper/jupyter_cmd.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/pyquickhelper/pycode/clean_helper.py
Expand Up @@ -23,7 +23,7 @@ def clean_exts(folder=".", fLOG=print, exts=[".pyd", ".so", ".o", ".def"]):
for root, dirs, files in os.walk("."):
for f in files:
ext = os.path.splitext(f)[-1]
if ext in exts and "exe.win" not in root:
if ext in exts and "exe.win" not in root and "site-packages" not in root:
filename = os.path.join(root, f)
fLOG("removing ", filename)
os.remove(filename)
Expand Down

0 comments on commit a09914d

Please sign in to comment.