Skip to content

Commit

Permalink
add test for long based bool
Browse files Browse the repository at this point in the history
  • Loading branch information
Daetalus committed Jul 11, 2017
1 parent 08d6932 commit d491531
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/tests/bool_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# expected: fail

long_ = type(31415926535897932384626)
assert isinstance(True, long_)
assert issubclass(bool, long_)
print(bool.__bases__)

0 comments on commit d491531

Please sign in to comment.