Michael McCune b33ee3daf6 remove assert in favor an if/else
the assert usage in the NonNegativeAction has the potential to allow
unexpected behavior when the python is byte-compiled with optimization
turned on.

Changes
* remove assert in favor of if/else in NonNegativeAction class
* add type specifier to parser arguments for non-negative actions
* correct tests for new int based values

Change-Id: I093e7440b8beff4f179e2c4ed81daff82704c40e
Closes-Bug: #1576375
2016-05-02 15:11:45 -04:00
..
2014-01-20 17:28:13 +04:00
2016-02-23 10:38:58 -06:00
2016-02-21 13:21:31 +08:00
2016-03-09 16:00:39 +00:00
2015-12-02 01:55:14 +00:00
2016-02-23 11:08:36 -06:00
2016-04-01 16:44:33 -04:00