Fixed typos and useless code.
This commit is contained in:
parent
f6beb1c197
commit
6f8c1b55eb
3 changed files with 2 additions and 5 deletions
|
@ -21,6 +21,6 @@ The tests are full of samples.
|
|||
- Pattern parsing is fragile, as it misses many tests on the input.
|
||||
- Boolean arrays were not considered.
|
||||
|
||||
## tests
|
||||
## Tests
|
||||
|
||||
Unit tests for **pytest** and siblingss are available in the `tests` directory. Because of laziness and lack of time, they only examine the parse function as a black box.
|
||||
Unit tests for **pytest** and siblings are available in the `tests` directory. Because of laziness and lack of time, they only examine the parse function as a black box.
|
||||
|
|
|
@ -40,7 +40,6 @@ class ArgParser:
|
|||
|
||||
class Namespace:
|
||||
def __init__(self, values):
|
||||
print(values)
|
||||
self.__dict__.update(dict(map(lambda v: (v.name, v.value), values)))
|
||||
|
||||
|
||||
|
|
|
@ -3,5 +3,3 @@
|
|||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
||||
|
||||
import args
|
||||
|
|
Loading…
Reference in a new issue