Skip to content

Commit 6c6e2e1

Browse files
committed
👹 Feed the hobgoblins (delint).
Closes #4473.
1 parent 1b34465 commit 6c6e2e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg_resources/tests/test_pkg_resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def test_distribution_version_missing(
279279
assert expected_text in msg
280280
# Check that the message portion contains the path.
281281
assert metadata_path in msg, str((metadata_path, msg))
282-
assert type(dist) == expected_dist_type
282+
assert type(dist) is expected_dist_type
283283

284284

285285
@pytest.mark.xfail(

setuptools/command/editable_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def _run_build_subcommands(self) -> None:
299299
build = self.get_finalized_command("build")
300300
for name in build.get_sub_commands():
301301
cmd = self.get_finalized_command(name)
302-
if name == "build_py" and type(cmd) != build_py_cls:
302+
if name == "build_py" and type(cmd) is not build_py_cls:
303303
self._safely_run(name)
304304
else:
305305
self.run_command(name)

0 commit comments

Comments
 (0)