Skip to content

Commit 9157292

Browse files
committed
__doc__ + __version__ print in adodbapitest
1 parent 7778508 commit 9157292

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

adodbapi/test/adodbapitest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""\
22
Unit tests for adodbapi
33
-----------------------
44
@@ -1587,8 +1587,8 @@ def __exit__(self, exc_type, exc_val, exc_tb):
15871587
mysuite = copy.deepcopy(suite)
15881588
with cleanup_manager():
15891589
defaultDateConverter = adodbapi.dateconverter
1590-
print(__doc__)
1591-
print("Default Date Converter is %s" % (defaultDateConverter,))
1590+
print(str(__doc__).split("\n")[0], "version", __version__)
1591+
print(f"Default Date Converter is {defaultDateConverter}")
15921592
dateconverter = defaultDateConverter
15931593
unittest.TextTestRunner().run(mysuite)
15941594

0 commit comments

Comments
 (0)