From: Thomas V. S. <tho...@us...> - 2011-01-18 09:09:29
|
Update of /cvsroot/pychecker/pychecker/test In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv15110/test Modified Files: test_internal.py Log Message: * test/test_internal.py: Add another assert. * pychecker/CodeChecks.py: Fix getting module names with * in it when doing star imports. Index: test_internal.py =================================================================== RCS file: /cvsroot/pychecker/pychecker/test/test_internal.py,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- test_internal.py 18 Jan 2011 07:42:28 -0000 1.16 +++ test_internal.py 18 Jan 2011 09:09:21 -0000 1.17 @@ -160,6 +160,8 @@ # check the module from which we are starimporting; # it should have been loaded as a side effect pcmodule = pcmodules.getPCModule("starimportfrom", moduleDir="input") + # FIXME; pcmodule has wrong moduleDir + pcmodule = pcmodules.getPCModule("starimportfrom", moduleDir=None) self.assertEquals(pcmodule.moduleName, "starimportfrom") self.assertEquals(pcmodule.moduleDir, "input") |