Skip to content

Commit

Permalink
contextmanager didn't move, IDE was confused
Browse files Browse the repository at this point in the history
  • Loading branch information
georgedorn committed Dec 11, 2019
1 parent ecfcba5 commit 733ecf5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/testcases.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
import json

from contextlib import contextmanager

from django.test.testcases import TestCase
from django.test.utils import CaptureQueriesContext
from django.db import connections


try:
from contextlib import contextmanager
except ImportError:
from decorator import contextmanager


class TastyPieTestCase(TestCase):

@contextmanager
Expand Down

0 comments on commit 733ecf5

Please sign in to comment.