I hereby claim:
- I am jeffallen on github.
- I am jeffallen (https://keybase.io/jeffallen) on keybase.
- I have a public key ASAJQAp_DWcopqslTaec-E_fV4kjVyXAVooPiF4xnc9PmQo
To claim this, I am signing this object:
| import irc.bot | |
| import irc.strings | |
| import ssl | |
| class BasicIRCBot(irc.bot.SingleServerIRCBot): | |
| def __init__(self, channel, nickname, password, server, port=6697): | |
| # Create SSL context | |
| ssl_context = ssl.create_default_context() | |
| # Pass server_hostname to wrap_socket |
| import unittest | |
| class TestPoint(unittest.TestCase): | |
| def test_init(self): | |
| """Tests if the Point object is initialized correctly.""" | |
| p = Point(1, 2) | |
| self.assertEqual(p.x, 1) | |
| self.assertEqual(p.y, 2) |
| class Point: | |
| """ | |
| A class representing a point in 2D space. | |
| """ | |
| def __init__(self, x, y): | |
| """ | |
| Initializes a new Point object. | |
| Args: |
I hereby claim:
To claim this, I am signing this object: