-
-
Notifications
You must be signed in to change notification settings - Fork 32
fix: cleanup code #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fix: cleanup code #248
Changes from 1 commit
a5a2d02
6fb1bdc
ea0b743
299baa0
e371a9c
d737811
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
import datetime | ||
import numbers | ||
from typing import TYPE_CHECKING, Any | ||
|
||
import pytest | ||
|
||
from json2xml import dicttoxml | ||
|
||
if TYPE_CHECKING: | ||
from _pytest.capture import CaptureFixture | ||
from _pytest.fixtures import FixtureRequest | ||
from _pytest.logging import LogCaptureFixture | ||
from _pytest.monkeypatch import MonkeyPatch | ||
from pytest_mock.plugin import MockerFixture | ||
pass | ||
|
||
|
||
|
||
class TestDict2xml: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
|
||
"""Tests for `json2xml` package.""" | ||
|
||
import json | ||
from pyexpat import ExpatError | ||
|
||
import pytest | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,11 +17,7 @@ | |
) | ||
|
||
if TYPE_CHECKING: | ||
from _pytest.capture import CaptureFixture | ||
from _pytest.fixtures import FixtureRequest | ||
from _pytest.logging import LogCaptureFixture | ||
from _pytest.monkeypatch import MonkeyPatch | ||
from pytest_mock.plugin import MockerFixture | ||
pass | ||
|
||
|
||
|
||
class TestExceptions: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (code-quality): Remove redundant conditional (
remove-redundant-if
)