summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-08-25 10:15:24 +0100
committerJörg Thalheim <joerg@thalheim.io>2020-08-25 10:15:24 +0100
commitf3c0a09c76db18102028c3f4146f09d36ca6dac2 (patch)
treefe198cd3578bcfe9078161a6c56483977fd3a6fa /nixos/lib
parent392415c285b76d1e5111c9bb9e46bc35d6bae5db (diff)
downloadnixpkgs-f3c0a09c76db18102028c3f4146f09d36ca6dac2.tar
nixpkgs-f3c0a09c76db18102028c3f4146f09d36ca6dac2.tar.gz
nixpkgs-f3c0a09c76db18102028c3f4146f09d36ca6dac2.tar.bz2
nixpkgs-f3c0a09c76db18102028c3f4146f09d36ca6dac2.tar.lz
nixpkgs-f3c0a09c76db18102028c3f4146f09d36ca6dac2.tar.xz
nixpkgs-f3c0a09c76db18102028c3f4146f09d36ca6dac2.tar.zst
nixpkgs-f3c0a09c76db18102028c3f4146f09d36ca6dac2.zip
nixos/testdriver: sort imports
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/test-driver/test-driver.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/nixos/lib/test-driver/test-driver.py b/nixos/lib/test-driver/test-driver.py
index 7a0eb264bef..a39bcd1dd30 100644
--- a/nixos/lib/test-driver/test-driver.py
+++ b/nixos/lib/test-driver/test-driver.py
@@ -1,17 +1,13 @@
 #! /somewhere/python3
-from contextlib import contextmanager
-from typing import Tuple, Any, Callable, Dict, Iterator, Optional, List
-import queue
-import io
-import _thread
 import argparse
 import atexit
 import base64
+import io
+import logging
 import os
 import pathlib
-import logging
-import ptpython.repl
 import pty
+import queue
 import re
 import shlex
 import shutil
@@ -19,7 +15,12 @@ import socket
 import subprocess
 import sys
 import tempfile
+import _thread
 import time
+from contextlib import contextmanager
+from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple
+
+import ptpython.repl
 
 CHAR_TO_KEY = {
     "A": "shift-a",