diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_git_command.py | 2 | ||||
| -rw-r--r-- | tests/test_project.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_git_command.py b/tests/test_git_command.py index 881cccb8..7c108ccd 100644 --- a/tests/test_git_command.py +++ b/tests/test_git_command.py | |||
| @@ -72,7 +72,7 @@ class GitCommandWaitTest(unittest.TestCase): | |||
| 72 | """Tests the GitCommand class .Wait()""" | 72 | """Tests the GitCommand class .Wait()""" |
| 73 | 73 | ||
| 74 | def setUp(self): | 74 | def setUp(self): |
| 75 | class MockPopen(object): | 75 | class MockPopen: |
| 76 | rc = 0 | 76 | rc = 0 |
| 77 | 77 | ||
| 78 | def __init__(self): | 78 | def __init__(self): |
diff --git a/tests/test_project.py b/tests/test_project.py index 79728d70..42f0f6e5 100644 --- a/tests/test_project.py +++ b/tests/test_project.py | |||
| @@ -48,7 +48,7 @@ def TempGitTree(): | |||
| 48 | yield tempdir | 48 | yield tempdir |
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | class FakeProject(object): | 51 | class FakeProject: |
| 52 | """A fake for Project for basic functionality.""" | 52 | """A fake for Project for basic functionality.""" |
| 53 | 53 | ||
| 54 | def __init__(self, worktree): | 54 | def __init__(self, worktree): |
