diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26de731..a4b47d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,12 @@ jobs: - "windows-app" - "iOS" - "android" - python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] + python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] + exclude: + # Android doesn't have 3.14 support packages yet + - python-version: "3.14" + backend: "android" + include: - runs-on: ubuntu-latest - pre-command: diff --git a/tests/test_thirdparty.py b/tests/test_thirdparty.py index aab7b08..1749805 100644 --- a/tests/test_thirdparty.py +++ b/tests/test_thirdparty.py @@ -115,7 +115,7 @@ def test_cryptography(): cert = x509.load_pem_x509_certificate(cert_pem, default_backend()) domain = cert.subject.get_attributes_for_oid(NameOID.COMMON_NAME)[0].value - assert "www.android.com" == domain + assert domain == "www.android.com" @xfail_if_not_installed("pyspamsum") @@ -177,7 +177,7 @@ def test_numpy(): from numpy import array # Numpy is the thousand pound gorilla packaging test. - assert [4, 7] == (array([1, 2]) + array([3, 5])).tolist() + assert (array([1, 2]) + array([3, 5])).tolist() == [4, 7] @xfail_if_not_installed("pandas") @@ -196,6 +196,6 @@ def test_pandas(): else: kwargs = {"lineterminator": "\n"} - assert (",Letter,Number\n0,alpha,1\n1,bravo,2\n2,charlie,3\n") == df.to_csv( - **kwargs + assert df.to_csv(**kwargs) == ( + ",Letter,Number\n0,alpha,1\n1,bravo,2\n2,charlie,3\n" )