fixed PY-7962 Doctest: IndentationError: false positives for tests with empty lines

This commit is contained in:
Ekaterina Tuzova
2012-11-09 18:31:41 +04:00
parent 16dd3f0277
commit 94f549ec05
4 changed files with 65 additions and 5 deletions
+14
View File
@@ -0,0 +1,14 @@
def foo3(x):
'''
>>> class User(Base):
... __tablename__ = 'users'
...
... <caret>id = Column(Integer, primary_key=True)
... name = Column(String)
... fullname = Column(String)
...
... password = Column(String)
'''
pass
+14
View File
@@ -0,0 +1,14 @@
def foo3(x):
'''
>>> class User(Base):
... __tablename__ = 'users'
...
... <caret>id = Column(Integer, primary_key=True)
... name = Column(String)
... fullname = Column(String)
...
... password = Column(String)
'''
pass