From ce4bb1720574f1cbb8e873a64011fda6f33d093a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 11 May 2024 01:10:18 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/benchmark/test_import.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/benchmark/test_import.py b/tests/benchmark/test_import.py index 02232071..04d46137 100644 --- a/tests/benchmark/test_import.py +++ b/tests/benchmark/test_import.py @@ -1,11 +1,16 @@ -import pytest import subprocess import sys +import pytest + + @pytest.mark.benchmark def test_import(): """Test import dpdata.""" - subprocess.check_output([sys.executable, "-c", "'from dpdata import LabeledSystem'"]).decode("ascii") + subprocess.check_output( + [sys.executable, "-c", "'from dpdata import LabeledSystem'"] + ).decode("ascii") + @pytest.mark.benchmark def test_cli():