]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Move line; reported on python-dev by Mark Favas (thanks!).
authorTim Peters <tim.peters@gmail.com>
Sun, 12 Aug 2001 02:01:09 +0000 (02:01 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 12 Aug 2001 02:01:09 +0000 (02:01 +0000)
Lib/test/regrtest.py

index b6d09c8b3fe8f4246fb8fc047053f66c95c9719a..3a16bbf26778c295c68601043321af98b7c5be45 100755 (executable)
@@ -170,9 +170,9 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0,
         print " ".join(skipped)
 
         e = _ExpectedSkips()
+        plat = sys.platform
         if e.isvalid():
             surprise = _Set(skipped) - e.getexpected()
-            plat = sys.platform
             if surprise:
                 print count(len(surprise), "skip"), \
                       "unexpected on", plat + ":", \