diff options
author | Alex Morega <alex@grep.ro> | 2013-07-06 15:15:11 +0200 |
---|---|---|
committer | Alex Morega <alex@grep.ro> | 2013-07-06 15:15:58 +0200 |
commit | 1b8ac4af57b81aeb5d9a8ac72c1122e1f7a7a15b (patch) | |
tree | 2dd0b22529b663c428aabb159f0dc998239cd186 /conftest.py | |
parent | 30afd11e4effccd3d517bedc62f8cfdad4623ae2 (diff) | |
download | babel-1b8ac4af57b81aeb5d9a8ac72c1122e1f7a7a15b.tar.gz |
run doctests on python 2
Fixes #10.
Diffstat (limited to 'conftest.py')
-rw-r--r-- | conftest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/conftest.py b/conftest.py index e79c152..e0b4426 100644 --- a/conftest.py +++ b/conftest.py @@ -1 +1,6 @@ collect_ignore = ['tests/messages/data'] + +def pytest_configure(config): + import sys + if sys.version_info[0] < 3: + config.option.doctestmodules = True |