| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,7 +45,12 @@ jobs: | |||
| 45 | 45 | - "windows-app" | |
| 46 | 46 | - "iOS" | |
| 47 | 47 | - "android" | |
| 48 | - python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] | ||
| 48 | + python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] | ||
| 49 | + exclude: | ||
| 50 | + # Android doesn't have 3.14 support packages yet | ||
| 51 | + - python-version: "3.14" | ||
| 52 | + backend: "android" | ||
| 53 | + | ||
| 49 | 54 | include: | |
| 50 | 55 | - runs-on: ubuntu-latest | |
| 51 | 56 | - pre-command: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -115,7 +115,7 @@ def test_cryptography(): | |||
| 115 | 115 | ||
| 116 | 116 | cert = x509.load_pem_x509_certificate(cert_pem, default_backend()) | |
| 117 | 117 | domain = cert.subject.get_attributes_for_oid(NameOID.COMMON_NAME)[0].value | |
| 118 | - assert "www.android.com" == domain | ||
| 118 | + assert domain == "www.android.com" | ||
| 119 | 119 | ||
| 120 | 120 | ||
| 121 | 121 | @xfail_if_not_installed("pyspamsum") | |
@@ -177,7 +177,7 @@ def test_numpy(): | |||
| 177 | 177 | from numpy import array | |
| 178 | 178 | ||
| 179 | 179 | # Numpy is the thousand pound gorilla packaging test. | |
| 180 | - assert [4, 7] == (array([1, 2]) + array([3, 5])).tolist() | ||
| 180 | + assert (array([1, 2]) + array([3, 5])).tolist() == [4, 7] | ||
| 181 | 181 | ||
| 182 | 182 | ||
| 183 | 183 | @xfail_if_not_installed("pandas") | |
@@ -196,6 +196,6 @@ def test_pandas(): | |||
| 196 | 196 | else: | |
| 197 | 197 | kwargs = {"lineterminator": "\n"} | |
| 198 | 198 | ||
| 199 | - assert (",Letter,Number\n0,alpha,1\n1,bravo,2\n2,charlie,3\n") == df.to_csv( | ||
| 200 | - **kwargs | ||
| 199 | + assert df.to_csv(**kwargs) == ( | ||
| 200 | + ",Letter,Number\n0,alpha,1\n1,bravo,2\n2,charlie,3\n" | ||
| 201 | 201 | ) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments