Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 14, 2023
1 parent daab8ab commit be1d5fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions tests/test_0080_flatpandas_multiindex_rows_and_columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@
import json

import numpy as np # noqa: F401
import pytest
import packaging.version
import pytest

import awkward as ak

pandas = pytest.importorskip("pandas")


@pytest.mark.skipif(
packaging.version.Version(pandas.__version__)
< packaging.version.Version("1.0"),
packaging.version.Version(pandas.__version__) < packaging.version.Version("1.0"),
reason="Test Pandas in 1.0+ because they had to fix their JSON format.",
)
def test():
Expand Down
8 changes: 3 additions & 5 deletions tests/test_2306_cppyy_jit.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE


import pytest
import packaging.version
import pytest

import awkward as ak
import awkward._connect.cling
Expand Down Expand Up @@ -46,8 +46,7 @@ def test_array_as_generated_dataset():


@pytest.mark.skipif(
packaging.version.Version(cppyy.__version__)
< packaging.version.Version("3.0.1"),
packaging.version.Version(cppyy.__version__) < packaging.version.Version("3.0.1"),
reason="Awkward Array can only work with cppyy 3.0.1 or later.",
)
def test_array_as_type():
Expand Down Expand Up @@ -82,8 +81,7 @@ def test_array_as_type():


@pytest.mark.skipif(
packaging.version.Version(cppyy.__version__)
< packaging.version.Version("3.0.1"),
packaging.version.Version(cppyy.__version__) < packaging.version.Version("3.0.1"),
reason="Awkward Array can only work with cppyy 3.0.1 or later.",
)
def test_array_as_templated_type():
Expand Down

0 comments on commit be1d5fa

Please sign in to comment.