diff options
author | ianb <devnull@localhost> | 2008-06-12 17:36:10 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2008-06-12 17:36:10 +0000 |
commit | 47063317b03a2f64bc0b484b8b8ff8de17b147cd (patch) | |
tree | 95196a18b4dcc5259a47e39349474d31ad0b91ad /paste/fixture.py | |
parent | 3710eb7974cf55018257a613314ece658784d79d (diff) | |
download | paste-47063317b03a2f64bc0b484b8b8ff8de17b147cd.tar.gz |
deprecate setup_module
Diffstat (limited to 'paste/fixture.py')
-rw-r--r-- | paste/fixture.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/paste/fixture.py b/paste/fixture.py index 7ef6339..0766b9d 100644 --- a/paste/fixture.py +++ b/paste/fixture.py @@ -1699,6 +1699,10 @@ def setup_module(module=None): from paste.fixture import setup_module """ + # Deprecated June 2008 + warnings.warn( + 'setup_module is deprecated', + DeprecationWarning, 2) if module is None: # The module we were called from must be the module... module = sys._getframe().f_back.f_globals['__name__'] |