Is there a quick & accurate way to test a python install?

Gene Heskett gheskett at wdtv.com
Sun Dec 16 21:00:10 CET 2012


On Sunday 16 December 2012 14:55:53 Terry Reedy did opine:

> On 12/16/2012 6:22 AM, Gene Heskett wrote:
> > On Sunday 16 December 2012 01:33:35 Terry Reedy did opine:
> >> You appear to have some of /Lib/test/ present, including
> >> Lib/test/regrtest.py, but not move of the test_xxx.py files. I do not
> >> know what is normal for an Ubuntu distribution. On Windows, I believe
> >> it is all or nothing.
> > 
> > /usr/lib/test?
> 
> No. I am on Windows and by /Lib I mean the directory containing
> Python-coded stdlib modules. It is on sys.path. For me, the path entry
> is 'C:\\Programs\\Python33\\lib'. (Windows paths are case indifferent
> for matching.) /test is one of several package subdirectories in /Lib.

Nothing even remotely related in the linux /lib tree:

gene at coyote:/$ ls -lR /lib|grep test
-rw-r--r-- 1 root root 6592 2010-07-27 13:58 raid6test.ko
drwxr-xr-x 2 root root  4096 2010-07-27 23:16 tests
/lib/modules/2.6.32-122-rtai/kernel/drivers/mtd/tests:
-rw-r--r-- 1 root root 14752 2010-07-27 13:58 mtd_oobtest.ko
-rw-r--r-- 1 root root 12668 2010-07-27 13:58 mtd_pagetest.ko
-rw-r--r-- 1 root root  7260 2010-07-27 13:58 mtd_readtest.ko
-rw-r--r-- 1 root root 10304 2010-07-27 13:58 mtd_speedtest.ko
-rw-r--r-- 1 root root  8552 2010-07-27 13:58 mtd_stresstest.ko
-rw-r--r-- 1 root root 12220 2010-07-27 13:58 mtd_subpagetest.ko
-rw-r--r-- 1 root root 13336 2010-07-27 13:58 mtd_torturetest.ko
-rw-r--r-- 1 root root  5816 2010-07-27 13:58 rtc-test.ko
-rw-r--r-- 1 root root  6968 2010-07-27 13:58 comedi_test.ko
-rw-r--r-- 1 root root 29556 2010-07-27 13:59 usbtest.ko

I knew there was a certain amount of isolation between the windows version 
and the linux version, but this seems total, so perhaps someone actually 
running linux can chip in here, with suggestions that are valid for the 
linux version?

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
There is no sincerer love than the love of food.
		-- George Bernard Shaw
I was taught to respect my elders, but its getting 
harder and harder to find any...



More information about the Python-list mailing list