diff options
| author | Chris McDonough <chrism@plope.com> | 2012-02-20 22:32:33 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-02-20 22:32:33 -0500 |
| commit | 3f7681efc96f815008abc30e152cd906851b00b0 (patch) | |
| tree | b0532dd6e891a033286dbaa99753f893217b415a | |
| parent | fee3811d2995683b8b319e3283aeedc75e42f5a2 (diff) | |
| download | pyramid-3f7681efc96f815008abc30e152cd906851b00b0.tar.gz pyramid-3f7681efc96f815008abc30e152cd906851b00b0.tar.bz2 pyramid-3f7681efc96f815008abc30e152cd906851b00b0.zip | |
squash the last resource warning
| -rw-r--r-- | pyramid/tests/test_static.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyramid/tests/test_static.py b/pyramid/tests/test_static.py index 109f82cbf..02cd49430 100644 --- a/pyramid/tests/test_static.py +++ b/pyramid/tests/test_static.py @@ -128,6 +128,7 @@ class Test_static_view_use_subpath_False(unittest.TestCase): self.assertTrue(isinstance(app_iter, _Wrapper)) self.assertTrue(b'<html>static</html>' in app_iter.file.read()) self.assertEqual(app_iter.block_size, _BLOCK_SIZE) + app_iter.file.close() def test_resource_is_file_with_cache_max_age(self): inst = self._makeOne('pyramid.tests:fixtures/static', cache_max_age=600) |
