Skip to content

Commit

Permalink
Added comment to unit test per the post merge discussion as it is non…
Browse files Browse the repository at this point in the history
…-obvious as to what the test proves
  • Loading branch information
comrumino committed Jan 11, 2021
1 parent 6bc3bf0 commit da188fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_netref_hierachy.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def exposed_instance(self, inst, cls):
return isinstance(inst, cls)

def exposed_getnonetype(self):
""" About the unit test - what's common to types.MethodType and NoneType is that both are
not accessible via builtins. So the unit test I've added in 108ff8e was enough to
my understanding (implement it with NoneType because that's more easily "created") """
return type(None)


Expand Down

0 comments on commit da188fc

Please sign in to comment.