| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 30f49d9 commit 8d3efc5
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65,7 +65,7 @@ def fixture(name): | |||
| 65 | 65 | # { Adapters | |
| 66 | 66 | ||
| 67 | 67 | ||
| 68 | - class StringProcessAdapter(object): | ||
| 68 | + class StringProcessAdapter: | ||
| 69 | 69 | """Allows strings to be used as process objects returned by subprocess.Popen. | |
| 70 | 70 | ||
| 71 | 71 | This is tailored to work with the test system only. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -868,7 +868,7 @@ def test_add_a_file_with_wildcard_chars(self, rw_dir): | |||
| 868 | 868 | def test__to_relative_path_at_root(self): | |
| 869 | 869 | root = osp.abspath(os.sep) | |
| 870 | 870 | ||
| 871 | - class Mocked(object): | ||
| 871 | + class Mocked: | ||
| 872 | 872 | bare = False | |
| 873 | 873 | git_dir = root | |
| 874 | 874 | working_tree_dir = root | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1044,7 +1044,7 @@ def test_branch_renames(self, rw_dir): | |||
| 1044 | 1044 | ||
| 1045 | 1045 | @skipUnless(is_win, "Specifically for Windows.") | |
| 1046 | 1046 | def test_to_relative_path_with_super_at_root_drive(self): | |
| 1047 | - class Repo(object): | ||
| 1047 | + class Repo: | ||
| 1048 | 1048 | working_tree_dir = "D:\\" | |
| 1049 | 1049 | ||
| 1050 | 1050 | super_repo = Repo() | |
| Back | FazBrowse Home | New Git URL |
0 commit comments