From 565be33084677c557e1af816e423a9e2d63ddfe7 Mon Sep 17 00:00:00 2001
From: Sandro Tosi <morph@debian.org>
Date: Thu, 8 Oct 2015 13:02:24 -0700
Subject: Don't force usage of toplevel dir to run tests

Origin: vendor
Forwarded: no
Last-Update: 2015-04-11
Patch-Name: tests_dont_import_toplevel_dir.patch
---
 tests/test_cache.py         | 1 -
 tests/test_custom_dict.py   | 1 -
 tests/test_dbdict.py        | 1 -
 tests/test_mongodict.py     | 1 -
 tests/test_monkey_patch.py  | 1 -
 tests/test_redisdict.py     | 1 -
 tests/test_thread_safety.py | 1 -
 7 files changed, 7 deletions(-)

diff --git a/tests/test_cache.py b/tests/test_cache.py
index a647895..24a6e05 100644
--- a/tests/test_cache.py
+++ b/tests/test_cache.py
@@ -2,7 +2,6 @@
 # -*- coding: utf-8 -*-
 # Path hack
 import os, sys
-sys.path.insert(0, os.path.abspath('..'))
 
 try:
     import unittest2 as unittest
diff --git a/tests/test_custom_dict.py b/tests/test_custom_dict.py
index f146d79..0af3d21 100644
--- a/tests/test_custom_dict.py
+++ b/tests/test_custom_dict.py
@@ -2,7 +2,6 @@
 # -*- coding: utf-8 -*-
 # Path hack
 import os, sys
-sys.path.insert(0, os.path.abspath('..'))
 
 from requests_cache.backends.storage.dbdict import DbDict, DbPickleDict
 
diff --git a/tests/test_dbdict.py b/tests/test_dbdict.py
index 04987ee..8ce7af9 100644
--- a/tests/test_dbdict.py
+++ b/tests/test_dbdict.py
@@ -2,7 +2,6 @@
 # -*- coding: utf-8 -*-
 # Path hack
 import os, sys
-sys.path.insert(0, os.path.abspath('..'))
 
 try:
     import unittest2 as unittest
diff --git a/tests/test_mongodict.py b/tests/test_mongodict.py
index bd7f49e..67aafb7 100644
--- a/tests/test_mongodict.py
+++ b/tests/test_mongodict.py
@@ -2,7 +2,6 @@
 # -*- coding: utf-8 -*-
 # Path hack
 import os, sys
-sys.path.insert(0, os.path.abspath('..'))
 
 try:
     import unittest2 as unittest
diff --git a/tests/test_monkey_patch.py b/tests/test_monkey_patch.py
index 596544b..f7167cf 100644
--- a/tests/test_monkey_patch.py
+++ b/tests/test_monkey_patch.py
@@ -2,7 +2,6 @@
 # -*- coding: utf-8 -*-
 # Path hack
 import os, sys
-sys.path.insert(0, os.path.abspath('..'))
 
 try:
     import unittest2 as unittest
diff --git a/tests/test_redisdict.py b/tests/test_redisdict.py
index 6dce788..a8013cb 100644
--- a/tests/test_redisdict.py
+++ b/tests/test_redisdict.py
@@ -2,7 +2,6 @@
 # -*- coding: utf-8 -*-
 # Path hack
 import os, sys
-sys.path.insert(0, os.path.abspath('..'))
 
 try:
     import unittest2 as unittest
diff --git a/tests/test_thread_safety.py b/tests/test_thread_safety.py
index 3b90e67..0b9f226 100644
--- a/tests/test_thread_safety.py
+++ b/tests/test_thread_safety.py
@@ -2,7 +2,6 @@
 # -*- coding: utf-8 -*-
 # Path hack
 import os, sys
-sys.path.insert(0, os.path.abspath('..'))
 
 try:
     import unittest2 as unittest
