From 5dca885c5c159229d39763041fdaf57a713ef0c0 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 14 May 2019 11:10:18 -0700 Subject: mtest: reorder imports I wanted to look at the imports for annotations but was having hard time reading them because they're just all over the place. This is purely a human readability issue. --- mesonbuild/mtest.py | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'mesonbuild/mtest.py') diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py index 8df8f48..476cf63 100644 --- a/mesonbuild/mtest.py +++ b/mesonbuild/mtest.py @@ -14,26 +14,32 @@ # A tool to run tests in many different ways. -import shlex -import subprocess, sys, os, argparse -import pickle -from mesonbuild import build -from mesonbuild import environment -from mesonbuild.dependencies import ExternalProgram -from mesonbuild.mesonlib import substring_is_in_list, MesonException -from mesonbuild import mlog - from collections import namedtuple -import io -import re -import tempfile -import time, datetime, multiprocessing, json +from copy import deepcopy +import argparse import concurrent.futures as conc +import datetime +import enum +import io +import json +import multiprocessing +import os +import pickle import platform -import signal import random -from copy import deepcopy -import enum +import re +import shlex +import signal +import subprocess +import sys +import tempfile +import time + +from . import build +from . import environment +from . import mlog +from .dependencies import ExternalProgram +from .mesonlib import substring_is_in_list, MesonException # GNU autotools interprets a return code of 77 from tests it executes to # mean that the test should be skipped. -- cgit v1.1