Skip to content

Commit

Permalink
fix: latest build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinit Kumar committed May 10, 2024
1 parent b82893f commit 6a40417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, pypy-3.8, pypy-3.9, pypy-3.10, '3.10', '3.11' , '3.12.0', '3.13']
python-version: [3.9, pypy-3.9, pypy-3.10, '3.10', '3.11' , '3.12.0', '3.13']
os: [
ubuntu-latest,
windows-latest,
macos-13,
macos-latest,
]

steps:
Expand Down
9 changes: 0 additions & 9 deletions tests/test_json2xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@ def test_read_from_invalid_json2(self):
readfromjson("examples/wrongjson.json")
assert pytest_wrapped_e.type == JSONReadError

def test_read_from_url(self):
data = readfromurl("https://api.github.com/users/vinitkumar")
assert isinstance(data, dict)

def test_read_from_wrong_url(self):
with pytest.raises(URLReadError) as pytest_wrapped_e:
readfromurl("https://api.github.com/users/vinitkumaro")
assert pytest_wrapped_e.type == URLReadError

def test_read_from_jsonstring(self):
data = readfromstring(
'{"login":"mojombo","id":1,"avatar_url":"https://avatars0.githubusercontent.com/u/1?v=4"}'
Expand Down

0 comments on commit 6a40417

Please sign in to comment.