mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2025-02-18 04:41:27 +01:00
Implemented compatibility layer for the long type (has been removed in py3) Added test for long-type compat.
12 lines
279 B
Python
12 lines
279 B
Python
from minecraft import compat # noqa unused-import
|
|
|
|
import unittest # noqa unused-import
|
|
|
|
|
|
class TestCompatLong(unittest.TestCase):
|
|
def test_import_long(self):
|
|
from minecraft.compat import long # noqa unused-import
|
|
|
|
def test_long(self):
|
|
compat.long(45)
|