diff options
| author | François Freitag <mail@franek.fr> | 2020-10-03 13:47:01 +0200 |
|---|---|---|
| committer | François Freitag <mail@franek.fr> | 2020-10-03 13:47:01 +0200 |
| commit | 5166dd194c27b63d2211e70272d9a39ffda36744 (patch) | |
| tree | f77160f88b6bdf5671c54354a474b9fee16818b9 /tests/test_pycode.py | |
| parent | 1e2ccd8f0eca0870cf6f8fce6934e2da8eba9b72 (diff) | |
| download | sphinx-git-5166dd194c27b63d2211e70272d9a39ffda36744.tar.gz | |
Strip trailing whitespaces and normalize line endings
Trailing whitespace do not have impact on the result, they are just
unused bytes. Most text editors are configured to strip trailing
whitespaces. Remove them all in one go.
Update a handful of files to use the UNIX line ending.
Diffstat (limited to 'tests/test_pycode.py')
| -rw-r--r-- | tests/test_pycode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pycode.py b/tests/test_pycode.py index 458e813f6..20f01f17d 100644 --- a/tests/test_pycode.py +++ b/tests/test_pycode.py @@ -26,7 +26,7 @@ def test_ModuleAnalyzer_get_module_source(): ModuleAnalyzer.get_module_source('builtins') with pytest.raises(PycodeError): ModuleAnalyzer.get_module_source('itertools') - + def test_ModuleAnalyzer_for_string(): analyzer = ModuleAnalyzer.for_string('print("Hello world")', 'module_name') |
