diff options
author | Daniel Moody <dmoody256@gmail.com> | 2021-07-26 17:00:53 (GMT) |
---|---|---|
committer | Daniel Moody <dmoody256@gmail.com> | 2021-07-26 17:00:53 (GMT) |
commit | bf8be7e0a329106101157a11881eaada6afcc967 (patch) | |
tree | e47e3a229537ce0fef0b7fafad0dde8e7940df9d /test/Parallel | |
parent | 4291d871feb2d639f523062c2cef5bc493d850c6 (diff) | |
download | SCons-bf8be7e0a329106101157a11881eaada6afcc967.zip SCons-bf8be7e0a329106101157a11881eaada6afcc967.tar.gz SCons-bf8be7e0a329106101157a11881eaada6afcc967.tar.bz2 |
fix sider complaints
Diffstat (limited to 'test/Parallel')
-rw-r--r-- | test/Parallel/failed-build/failed-build.py | 4 | ||||
-rw-r--r-- | test/Parallel/failed-build/fixture/teststate.py | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/test/Parallel/failed-build/failed-build.py b/test/Parallel/failed-build/failed-build.py index 39d3e56..2ee0607 100644 --- a/test/Parallel/failed-build/failed-build.py +++ b/test/Parallel/failed-build/failed-build.py @@ -26,8 +26,6 @@ Verify that a failed build action with -j works as expected. """ -import os - import TestSCons python = TestSCons.python @@ -35,7 +33,7 @@ test = TestSCons.TestSCons() try: import psutil -except ImportError as e: +except ImportError: test.skip_test("Failed to import psutil required for test, skipping.") test.dir_fixture('fixture') diff --git a/test/Parallel/failed-build/fixture/teststate.py b/test/Parallel/failed-build/fixture/teststate.py index e549f2c..8a0b6b0 100644 --- a/test/Parallel/failed-build/fixture/teststate.py +++ b/test/Parallel/failed-build/fixture/teststate.py @@ -18,9 +18,7 @@ class Response(Enum): def server_thread(PORT): - Handler = http.server.SimpleHTTPRequestHandler - - class S( http.server.BaseHTTPRequestHandler): + class S(http.server.BaseHTTPRequestHandler): current_state = TestState.start_state mutex = Lock() |