| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Eliminate some occurrences of the following flake8 errors in tests:
* E265 block comment should start with '# '
* E266 too many leading '#' for block comment
* E402 module level import not at top of file
* E712 comparison to False should be 'if cond is False:' or 'if not cond:'
* E712 comparison to True should be 'if cond is True:' or 'if cond:'
* E722 do not use bare 'except'
* F401 ... imported but unused
* F403 ... used; unable to detect undefined names
* F405 ... may be undefined, or defined from star imports: ...
* F541 f-string is missing placeholders
* F841 local variable 'result' is assigned to but never used
* N806 variable 'TEST_DIR' in function should be lowercase
This is pursuant to eliminating
[flakeheaven](https://github.com/flakeheaven/flakeheaven), as it no longer
supports the latest version of flake8
[[ref](https://github.com/flakeheaven/flakeheaven/issues/132)].
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch removes unused imports in test code. This is mainly to remove
the potential snag for flake8/flakeheaven.
The actual cleanup was done with `pycln --all test`.
Also:
- Remove superflous `pass` statements.
|
|
|
|
|
|
|
| |
This patch moves the `RDFT` and `EARL` namespaces into their own files.
This is to make the test code a bit cleaner to work with. Doing this in
preperation for rewrite of the RDF/XML test suite.
|
|
|
|
|
|
|
|
|
| |
Change `test/data/suites/w3c/n3/manifest.ttl` to the upstream version of
this file and workaround issues in it using in
`test/test_w3c_spec/test_n3_w3c.py` by manually specyfing manifests.
The issue in the upstream manifest is tracked in:
- https://github.com/w3c/N3/issues/98
|
|
Changed the content of the (unused) `test/data/suites/n3`
(which isn't an element of the published [W3C RDF test suite](https://github.com/w3c/rdf-tests))
to that of the [W3C N3 test suite](https://github.com/w3c/N3/tree/master/tests)
because it's an updated version of the same test suite,
cloned `test_turtle_w3c.py` as `test_n3_w3c.py`,
adjusted it to run and added the failures as a *pro tem* internal,
marked-as-xfail "skiplist".
Also:
- Added a couple of TurtleTest URIRefs to test/manifest.py
|