Coverage for /Volumes/workspace/python-progressbar/.tox/pypy3/site-packages/progressbar/base.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

6 statements  

1# -*- mode: python; coding: utf-8 -*- 

2 

3class FalseMeta(type): 

4 def __bool__(self): # pragma: no cover 

5 return False 

6 

7 def __cmp__(self, other): # pragma: no cover 

8 return -1 

9 

10 __nonzero__ = __bool__ 

11 

12 

13class UnknownLength(metaclass=FalseMeta): 

14 pass 

15 

16 

17class Undefined(metaclass=FalseMeta): 

18 pass