Skip to content

Commit

Permalink
Minor import cleanup in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wbolster committed Oct 18, 2013
1 parent b2e75b4 commit a0ff80a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_plyvel.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import unicode_literals

from contextlib import contextmanager
import contextlib
import os
import shutil
import stat
Expand Down Expand Up @@ -43,7 +43,7 @@
# Utilities
#

@contextmanager
@contextlib.contextmanager
def tmp_db(name_prefix, create=True, delete=True, **kwargs):
name = tempfile.mkdtemp(prefix=name_prefix + '-', dir=TEST_DBS_DIR)
if create:
Expand Down

0 comments on commit a0ff80a

Please sign in to comment.