Skip to content

Commit 0616754

Browse files
committed
Run isort on test folder
1 parent f69db59 commit 0616754

5 files changed

+8
-4
lines changed

test/test_compiler_opts.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import logging
44
import os
55
from test import check_present
6+
67
import pytest
78

89
from cmdstanpy.compiler_opts import CompilerOptions

test/test_cxx_installation.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""install_cxx_toolchain tests"""
22

3-
from test import mark_windows_only, mark_not_windows
3+
from test import mark_not_windows, mark_windows_only
4+
45
import pytest
56

67
from cmdstanpy import install_cxx_toolchain

test/test_install_cmdstan.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
"""install_cmdstan test"""
22
from unittest import mock
3+
34
import pytest
5+
46
from cmdstanpy.install_cmdstan import (
57
CmdStanInstallError,
68
CmdStanRetrieveError,

test/test_model.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
"""CmdStanModel tests"""
22

33
import contextlib
4-
from glob import glob
54
import io
65
import logging
76
import os
87
import re
98
import shutil
109
import tempfile
11-
from test import raises_nested, check_present
10+
from glob import glob
11+
from test import check_present, raises_nested
1212
from typing import List
1313
from unittest.mock import MagicMock, patch
1414

test/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import stat
1515
import string
1616
import tempfile
17-
from test import raises_nested, mark_windows_only, check_present
17+
from test import check_present, mark_windows_only, raises_nested
1818
from unittest import mock
1919

2020
import numpy as np

0 commit comments

Comments
 (0)