[Tim tests for expected platform-specific skips] ... just a slight change needed for the new gimmick to be happy on other platforms <wink> Instead of: e = _ExpectedSkips() if e.isvalid(): surprise = _Set(skipped) - e.getexpected() plat = sys.platform #<------------------------------------- if surprise: print count(len(surprise), "skip"), \ "unexpected on", plat + ":", \ " ".join(surprise.tolist()) else: print "Those skips are all expected on", plat + "." else: print "Ask someone to teach regrtest.py about which tests are" print "expected to get skipped on", plat + "." try: e = _ExpectedSkips() plat = sys.platform #<+++++++++++++++++++++++++++++++++++++++++ if e.isvalid(): surprise = _Set(skipped) - e.getexpected() if surprise: print count(len(surprise), "skip"), \ "unexpected on", plat + ":", \ " ".join(surprise.tolist()) else: print "Those skips are all expected on", plat + "." else: print "Ask someone to teach regrtest.py about which tests are" print "expected to get skipped on", plat + "." -- Mark Favas - m.favas@per.dem.csiro.au CSIRO, Private Bag No 5, Wembley, Western Australia 6913, AUSTRALIA
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