Show More
@@ -1,8 +1,4 b'' | |||||
1 | try: |
|
1 | try: | |
2 | from decorator import * |
|
2 | from decorator import * | |
3 | from decorator import getinfo, new_wrapper |
|
|||
4 | # the following funcion is deprecated so using the python own one |
|
|||
5 | from functools import update_wrapper |
|
|||
6 | except ImportError: |
|
3 | except ImportError: | |
7 | from _decorator import * |
|
4 | from _decorator import * | |
8 | from _decorator import getinfo, update_wrapper, new_wrapper |
|
@@ -56,7 +56,7 b' import unittest' | |||||
56 | # Third-party imports |
|
56 | # Third-party imports | |
57 |
|
57 | |||
58 | # This is Michele Simionato's decorator module, kept verbatim. |
|
58 | # This is Michele Simionato's decorator module, kept verbatim. | |
59 |
from IPython.external.decorator import decorator |
|
59 | from IPython.external.decorator import decorator | |
60 |
|
60 | |||
61 | # We already have python3-compliant code for parametric tests |
|
61 | # We already have python3-compliant code for parametric tests | |
62 | if sys.version[0]=='2': |
|
62 | if sys.version[0]=='2': |
General Comments 0
You need to be logged in to leave comments.
Login now