diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-01 04:53:24 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-01 04:53:24 +0000 |
| commit | 9a038d57b37c634e32d6ea5afb7d470aee178564 (patch) | |
| tree | 0ded83576412548b5cc4b9336930e71dee7bf044 /repoze/bfg/tests/test_path.py | |
| parent | 0a63847b133f2f21496b7d567af88b4b9077cd68 (diff) | |
| download | pyramid-9a038d57b37c634e32d6ea5afb7d470aee178564.tar.gz pyramid-9a038d57b37c634e32d6ea5afb7d470aee178564.tar.bz2 pyramid-9a038d57b37c634e32d6ea5afb7d470aee178564.zip | |
Stop new Pyflakes complaints.
Diffstat (limited to 'repoze/bfg/tests/test_path.py')
| -rw-r--r-- | repoze/bfg/tests/test_path.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/repoze/bfg/tests/test_path.py b/repoze/bfg/tests/test_path.py index 8522eb387..043392311 100644 --- a/repoze/bfg/tests/test_path.py +++ b/repoze/bfg/tests/test_path.py @@ -24,7 +24,6 @@ class TestCallerPath(unittest.TestCase): import os from repoze.bfg.tests import test_path test_path.__bfg_abspath__ = '/foo/bar' - here = os.path.abspath(os.path.dirname(__file__)) result = self._callFUT('a/b/c') self.assertEqual(result, os.path.join('/foo/bar', 'a/b/c')) @@ -103,7 +102,7 @@ class TestPackagePath(unittest.TestCase): def test_memoization_success(self): from repoze.bfg.tests import test_path module = DummyPackageOrModule(test_path) - result = self._callFUT(module) + self._callFUT(module) self.assertEqual(module.__bfg_abspath__, module.package_path) def test_memoization_fail(self): |
