Skip to content

Commit 413ec57

Browse files
Merge pull request #119 from r1chardj0n3s/pyupgrade
Run pyupgrade (minimum version Python 3.8)
2 parents 04a7f0d + 63a456f commit 413ec57

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

tests/test_common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Tests for `common.py`."""
22

3-
from __future__ import absolute_import
43

54
import ast
65
import builtins
@@ -207,7 +206,7 @@ def test_find_required_modules(tmp_path: Path) -> None:
207206
skip_incompatible=False,
208207
requirements_filename=str(fake_requirements_file),
209208
)
210-
assert reqs == set(["foobar"])
209+
assert reqs == {"foobar"}
211210

212211

213212
def test_find_required_modules_env_markers(tmp_path: Path) -> None:

tests/test_find_extra_reqs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Tests for `find_extra_reqs.py`."""
22

3-
from __future__ import absolute_import
43

54
import logging
65
import textwrap

tests/test_find_missing_reqs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Tests for `find_missing_reqs.py`."""
22

3-
from __future__ import absolute_import
43

54
import logging
65
import os

0 commit comments

Comments
 (0)