Skip to content

Commit 9ea3511

Browse files
committed
disable doctests
1 parent 708d4c5 commit 9ea3511

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ To use with a unix socket::
2121
>>> import clamd
2222
>>> cd = clamd.ClamdUnixSocket()
2323
>>> cd.ping()
24-
u'PONG'
24+
'PONG'
2525
>>> cd.version() # doctest: +ELLIPSIS
26-
u'ClamAV ...
26+
'ClamAV ...
2727
>>> cd.reload()
28-
u'RELOADING'
28+
'RELOADING'
2929

3030
To scan a file::
3131

3232
>>> open('/tmp/EICAR','wb').write(clamd.EICAR)
3333
>>> cd.scan('/tmp/EICAR')
34-
{u'/tmp/EICAR': (u'FOUND', u'Eicar-Test-Signature')}
34+
{'/tmp/EICAR': ('FOUND', 'Eicar-Test-Signature')}
3535

3636
To scan a stream::
3737

3838
>>> from six import BytesIO
3939
>>> cd.instream(BytesIO(clamd.EICAR))
40-
{u'stream': (u'FOUND', u'Eicar-Test-Signature')}
40+
{'stream': ('FOUND', 'Eicar-Test-Signature')}
4141

4242

4343
License

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ tests-require = six
2828

2929
[nosetests]
3030
with-doctest=1
31-
doctest-extension=rst

0 commit comments

Comments
 (0)