Fixed typos and useless code.

This commit is contained in:
David Soulayrol 2023-09-28 23:10:57 +02:00
parent f6beb1c197
commit 6f8c1b55eb
3 changed files with 2 additions and 5 deletions

View file

@ -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.

View file

@ -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)))

View file

@ -3,5 +3,3 @@
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import args