Python 3 Compatibility (#208)
* make python3 compatible; clean up test reqs a bit
This commit is contained in:
1 parent
780f2fc28d
commit
bea714dfb8
29 files changed
+11664
-11663
No files matched your search
@@ -104,4 +104,4 @@ def test_languagetool_run(pytestconfig):
|
||||
out = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT)
|
||||
except subprocess.CalledProcessError as e:
|
||||
assert e.output == ''
|
||||
assert out == ''
|
||||
assert out.decode('utf-8') == ''
|
||||
@@ -1,10 +0,0 @@
|
||||
import glob
|
||||
|
||||
import pycodestyle
|
||||
|
||||
|
||||
def test_conformance():
|
||||
"""Test that we conform to PEP-8."""
|
||||
style = pycodestyle.StyleGuide(max_line_length=120)
|
||||
result = style.check_files(glob.glob('*.py') + glob.glob('domdiv/*.py') + glob.glob('tests/*.py'))
|
||||
assert result.total_errors == 0, "Found code style errors (and warnings)."
|
||||
Reference in new issue
Block a user