Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d3efc5

Browse files
committed
Remove explicit inheritance from object in test suite
1 parent30f49d9 commit8d3efc5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎test/lib/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def fixture(name):
6565
# { Adapters
6666

6767

68-
classStringProcessAdapter(object):
68+
classStringProcessAdapter:
6969
"""Allows strings to be used as process objects returned by subprocess.Popen.
7070
7171
This is tailored to work with the test system only.

‎test/test_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ def test_add_a_file_with_wildcard_chars(self, rw_dir):
868868
deftest__to_relative_path_at_root(self):
869869
root=osp.abspath(os.sep)
870870

871-
classMocked(object):
871+
classMocked:
872872
bare=False
873873
git_dir=root
874874
working_tree_dir=root

‎test/test_submodule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ def test_branch_renames(self, rw_dir):
10441044

10451045
@skipUnless(is_win,"Specifically for Windows.")
10461046
deftest_to_relative_path_with_super_at_root_drive(self):
1047-
classRepo(object):
1047+
classRepo:
10481048
working_tree_dir="D:\\"
10491049

10501050
super_repo=Repo()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp