Skip to content
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

Signature of Minecraft constructor has changed - previously took a connection #59

Open
jonathanfine opened this issue Oct 19, 2014 · 2 comments
Milestone

Comments

@jonathanfine
Copy link
Contributor

In 6eeb804 we have

class Minecraft:
    """The main class to interact with a running instance of Minecraft Pi."""
    def __init__(self, connection):
        self.conn = connection

In 9f3bfba we have

class Minecraft:
    """The main class to interact with a running instance of Minecraft Pi."""
    def __init__(self, address="localhost", port=4711):
        self._conn = Connection(address, port)
@doismellburning
Copy link
Member

Noted; if you could please make a PR with test and fix, thanks

@jonathanfine
Copy link
Contributor Author

@doismellburning wrote

Noted; if you could please make a PR with test and fix, thanks

Please see #57 Compatibility of code base with previous version not obvious.

The only way to fix both issues is to go back to 6eeb804. I'm not interested in contributing to fixing this issue without fixing #57 (which is in many ways the root cause of this issue and perhaps other,unknown, issues).

In fact, the whole test framework that needs to be revised. See #61 Test framework does not test previous version. Once #61 is fixed we will have the failing test for this issue, and perhaps some other failing tests.

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

No branches or pull requests

3 participants