MahjongRepository / mahjong

Implementation of riichi mahjong related stuff (hand cost, shanten, agari end, etc.)
MIT License
377 stars 38 forks source link

Test failed on Python 3.8 #15

Closed Nihisil closed 4 years ago

Nihisil commented 5 years ago
$ python --version
Python 3.8.0b2+
======================================================================
FAIL: test_is_ryanpeiko (mahjong.hand_calculating.tests.tests_yaku_calculation.YakuCalculationTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/MahjongRepository/mahjong/mahjong/hand_calculating/tests/tests_yaku_calculation.py", line 495, in test_is_ryanpeiko
    self.assertTrue(self.config.ryanpeiko.is_condition_met(self._hand(tiles, 1)))
AssertionError: False is not true