diff --git a/pipenv/utils.py b/pipenv/utils.py index 79330379..af84e490 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -22,7 +22,9 @@ except ImportError: try: from backports.weakref import finalize except ImportError: - pass + def finalize(*args, **kwargs): + logging.warn('weakref.finalize unavailable, not cleaning...') + from time import time logging.basicConfig(level=logging.ERROR) diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index e69de29b..00000000