On 11 August 2001, Tim Peters said: > For you it will print something like: > > ... > MMM tests OK. > NN tests skipped: XXX YYY ... > Ask someone to teach regrtest.py about which tests are > expected to get skipped on [sys.platform]. > > > You do that by changing the new _ExpectedSkips.__init__ near the bottom of > regrtest.py. > > If sys.platform isn't enough to determine the set of skipped tests, then > sys.platform isn't particularly useful <0.9 wink>. Note that distutils.util.get_platform() is, for POSIX platforms at least, sys.platform on steroids: def get_platform (): """Return a string that identifies the current platform. This is used mainly to distinguish platform-specific build directories and platform-specific built distributions. Typically includes the OS name and version and the architecture (as supplied by 'os.uname()'), although the exact information included depends on the OS; eg. for IRIX the architecture isn't particularly important (IRIX only runs on SGI hardware), but for Linux the kernel version isn't particularly important. Examples of returned values: linux-i586 linux-alpha (?) solaris-2.6-sun4u irix-5.3 irix64-6.2 For non-POSIX platforms, currently just returns 'sys.platform'. """ But then, much of the Distutils is other parts of the standard library on steroids. (Sigh.) Greg -- Greg Ward - Linux geek gward@python.net http://starship.python.net/~gward/ A man without religion is like a fish without a bicycle.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4