* [gentoo-commits] gentoo-x86 commit in dev-python/logilab-common/files: logilab-common-0.39.0-remove-broken-tests.patch
@ 2009-04-18 18:46 Patrick Lauer (patrick)
0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2009-04-18 18:46 UTC (permalink / raw
To: gentoo-commits
patrick 09/04/18 18:46:07
Added: logilab-common-0.39.0-remove-broken-tests.patch
Log:
Bump to 0.39.0. Nice test fixes from idl0r. Closes #261984.
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-python/logilab-common/files/logilab-common-0.39.0-remove-broken-tests.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/logilab-common/files/logilab-common-0.39.0-remove-broken-tests.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/logilab-common/files/logilab-common-0.39.0-remove-broken-tests.patch?rev=1.1&content-type=text/plain
Index: logilab-common-0.39.0-remove-broken-tests.patch
===================================================================
--- test/unittest_modutils.py.old 2009-04-14 13:00:50.116522533 +0200
+++ test/unittest_modutils.py 2009-04-14 13:20:41.727764570 +0200
@@ -120,16 +120,6 @@ class file_from_modpath_tc(TestCase):
self.assertEqual(path.realpath(modutils.file_from_modpath(['os', 'path']).replace('.pyc', '.py')),
path.realpath(path.__file__.replace('.pyc', '.py')))
- def test_knownValues_file_from_modpath_3(self):
- try:
- # don't fail if pyxml isn't installed
- from xml.dom import ext
- except ImportError:
- pass
- else:
- self.assertEqual(path.realpath(modutils.file_from_modpath(['xml', 'dom', 'ext']).replace('.pyc', '.py')),
- path.realpath(ext.__file__.replace('.pyc', '.py')))
-
def test_knownValues_file_from_modpath_4(self):
self.assertEqual(modutils.file_from_modpath(['sys']),
None)
@@ -165,9 +155,6 @@ class is_standard_module_tc(TestCase):
def test_knownValues_is_standard_module_3(self):
self.assertEqual(modutils.is_standard_module('unknown'), False)
- def test_knownValues_is_standard_module_4(self):
- self.assertEqual(modutils.is_standard_module('StringIO'), True)
-
def test_knownValues_is_standard_module_5(self):
self.assertEqual(modutils.is_standard_module('data.module', (DATADIR,)), True)
self.assertEqual(modutils.is_standard_module('data.module', (path.abspath(DATADIR),)), True)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-18 18:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-18 18:46 [gentoo-commits] gentoo-x86 commit in dev-python/logilab-common/files: logilab-common-0.39.0-remove-broken-tests.patch Patrick Lauer (patrick)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox