Skip to content

Remove unused code and simplify string format. #892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 6, 2019

Conversation

godaji
Copy link
Contributor

@godaji godaji commented Oct 4, 2019

I checked the code and it was pretty clean. I found and fixed some minor improvements. Please reflect if you wish.

@@ -93,7 +90,6 @@ def test_pickability(self):
self.assertIsInstance(unpickled, FakeObject)
self.assertTrue(hasattr(unpickled, "_module"))
self.assertEqual(unpickled._module, original_obj_module)
pickled2 = pickle.dumps(unpickled)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is supposed to be a pickle object test.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I will rollback it. :)

@max-wittig
Copy link
Member

Thanks for the merge request! Could you just please follow our commit conventions and formulate the commit message like so:

refactor: remove unused code, simplify string format

@max-wittig
Copy link
Member

Thanks for the merge request! Could you just please follow our commit conventions and formulate the commit message like so:

refactor: remove unused code, simplify string format

Your commit messages are the reason why the tests are failing. More info: https://github.com/python-gitlab/python-gitlab#contributing

@godaji godaji force-pushed the remove-unused-code branch from b915dc5 to c7ff676 Compare October 5, 2019 23:43
@max-wittig
Copy link
Member

@godaji Thanks for the fixes!

@max-wittig max-wittig merged commit 214f7ef into python-gitlab:master Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants