Skip to content

Commit

Permalink
Remvoe unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
bashtage committed Oct 1, 2024
1 parent 43fc6fa commit 728a780
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions randomgen/entropy.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ cdef Py_ssize_t compute_numel(size):
return n

cdef class TestSentinel(object):
cdef bint _testing_auto, _testing_system, _testing_fallback
def __init__(self, object auto=False, system=False, fallback=False):
cdef bint _testing_auto, _testing_fallback

def __init__(self, object auto=False, fallback=False):
self._testing_auto = auto
self._testing_system = system
self._testing_fallback = fallback


@property
def testing_auto(self):
return self._testing_auto
Expand All @@ -42,14 +41,6 @@ cdef class TestSentinel(object):
def testing_auto(self, object value):
self._testing_auto = value

@property
def testing_system(self):
return self._testing_system

@testing_system.setter
def testing_system(self, object value):
self._testing_system = value

@property
def testing_fallback(self):
return self._testing_fallback
Expand Down

0 comments on commit 728a780

Please sign in to comment.