forked from orbit-oss/flask
Remove useless classes
This commit is contained in:
parent
d0cf5ef394
commit
af41dbe0c4
10 changed files with 739 additions and 818 deletions
|
|
@ -54,7 +54,7 @@ class _NoLeakAsserter(object):
|
|||
|
||||
@pytest.mark.skipif(os.environ.get('RUN_FLASK_MEMORY_TESTS') != '1',
|
||||
reason='Turned off due to envvar.')
|
||||
class TestMemory(TestFlask):
|
||||
class TestMemory(object):
|
||||
|
||||
def assert_no_leak(self):
|
||||
return _NoLeakAsserter(self)
|
||||
|
|
@ -88,7 +88,7 @@ class TestMemory(TestFlask):
|
|||
safe_join('/foo', '..')
|
||||
|
||||
|
||||
class TestException(TestFlask):
|
||||
class TestException(object):
|
||||
|
||||
def test_aborting(self):
|
||||
class Foo(Exception):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue