blob: 0469606ce19d6ca7aee248a401b9b8c24f6cb3ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
=== modified file 'test/unittest_modutils.py'
--- test/unittest_modutils.py
+++ test/unittest_modutils.py
@@ -183,15 +183,6 @@
self.assertEqual(modules,
[path.join('data', x) for x in ['__init__.py', 'module.py', 'module2.py', 'noendingnewline.py', 'nonregr.py']])
- def test_load_module_set_attribute(self):
- import logilab.common
- import logilab
- del logilab.common
- del sys.modules['logilab.common']
- m = modutils.load_module_from_modpath(['logilab','common'])
- self.assert_( hasattr(logilab,'common') )
- self.assert_( m is logilab.common )
-
from logilab.common.testlib import DocTest
class ModuleDocTest(DocTest):
"""test doc test in this module"""
|